Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98547

published

af_packet: fix integer overflow in prb_calc_retire_blk_tmo()

Published
18 Oct 2026, 15:18:15 UTC
Updated
19 Oct 2026, 09:21:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf6fb8f100b807378fda19e83e5ac6828b638603a to < 02afd75649a4e001031ed82153a5c39312ec0737 · f6fb8f100b807378fda19e83e5ac6828b638603a to < eb5b3838b9200dac04bfe33483db0ee8287456fb · f6fb8f100b807378fda19e83e5ac6828b638603a to < 297acc571d5813db76b147c745b91031d5f9c960 · f6fb8f100b807378fda19e83e5ac6828b638603a to < be1aacff399d519cc48d6b34354a54dd79041140 · f6fb8f100b807378fda19e83e5ac6828b638603a to < b2bcc6a254d6f27823a56787668ae4ee8cdb6e71 · f6fb8f100b807378fda19e83e5ac6828b638603a to < 6279211e7d2456ecd195d236c9ee5e5c6fa5a17a · f6fb8f100b807378fda19e83e5ac6828b638603a to < 218a944b9e035d4b47d59c69af6ca13319da15fb · f6fb8f100b807378fda19e83e5ac6828b638603a to < 56d82862a0a243ac14ba11b6d7b57ddc2d064b95 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.2 (affected) · 0 to < 3.2 (unaffected · semver) · 5.10.271 through 5.10.* (unaffected · semver) · 5.15.222 through 5.15.* (unaffected · semver) · 6.1.189 through 6.1.* (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.55 through 6.18.* (unaffected · semver) · 7.2.9 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-136 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-119 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3251 Fixed Not stated Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.113-1~deb12u1 DLA-4850-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-3335 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3336 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-326.222.4.el8uek ELSA-2026-500574
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-326.222.4.el9uek ELSA-2026-500574
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: af_packet: fix integer overflow in prb_calc_retire_blk_tmo() prb_calc_retire_blk_tmo() computes in 32-bit int arithmetic: mbits = (blk_size_in_bytes * 8) / (1024 * 1024); If I'm reading the validation right, tp_block_size is user controlled and packet_set_ring() only rejects values that are <= 0 as int or not page aligned, so a 256MiB block goes right through (and alloc_one_pg_vec_page() even has a vzalloc fallback for it). 0x10000000 * 8 wraps to INT_MIN, and on a NIC reporting 1 Gbps (div == 1) the function ends up returning -2047. The condition is actually (8 * size) mod 2^32 >= 2^31 && div == 1, so the trigger set is [256,512), [768,1024), [1280,1536) and [1792,2048) MiB. Other sizes wrap to non-negative values and faster links divide the unsigned value back below 2^31, which is why this doesn't blow up for everyone. What makes it fatal is what happens next in init_prb_bdqc(): p1->interval_ktime = ms_to_ktime(prb_calc_retire_blk_tmo(...)); hrtimer_start(&p1->retire_blk_timer, p1->interval_ktime, HRTIMER_MODE_REL_SOFT); A negative relative timeout expires immediately. The callback unconditionally returns HRTIMER_RESTART, and hrtimer_forward() turns the negative interval into hrtimer_resolution: if (interval < hrtimer_resolution) interval = hrtimer_resolution; So the SOFT timer re-fires at the maximum rate forever, holding sk_receive_queue.lock each pass. One CPU spins in softirq until the socket is closed. Repeat with more rings and the machine is gone. The overflow itself is ancient - it was introduced together with TPACKET_V3 in f6fb8f100b80 ("af-packet: TPACKET_V3 flexible buffer implementation."). Its effect prior to f7460d2989fa ("net: af_packet: Use hrtimer to do the retire operation", v6.18) was not as clear-cut, though: the return value was stored into an unsigned short retire_blk_tov, so a negative result was truncated, and a 0-jiffy delay loop could be programmed as well. Neither is nearly as detrimental as the immediate maximum-rate spin the hrtimer conversion turned it into. (Unrelated to CVE-2019-20812 - that one was the ethtool failure path returning 0, which now returns DEFAULT_PRB_RETIRE_TOV.) Reproducer, needs CAP_NET_RAW (a --network host container has it by default) and a 1 Gbps NIC (QEMU e1000 works): int fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); bind(fd, ...); int v = TPACKET_V3; setsockopt(fd, SOL_PACKET, PACKET_VERSION, &v, sizeof(v)); struct tpacket_req3 req = { .tp_block_size = 0x10000000, .tp_block_nr = 1, .tp_frame_size = 2048, .tp_frame_nr = 0x10000000 / 2048, .tp_retire_blk_tov = 0, }; setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)); Compute in 64 bits instead. The operands are already bounded by the existing validation, so nothing else changes. If you'd prefer a different fix, just say so and I'll respin.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

36

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f6fb8f100b807378fda19e83e5ac6828b638603a to < 02afd75649a4e001031ed82153a5c39312ec0737 (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < eb5b3838b9200dac04bfe33483db0ee8287456fb (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < 297acc571d5813db76b147c745b91031d5f9c960 (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < be1aacff399d519cc48d6b34354a54dd79041140 (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < b2bcc6a254d6f27823a56787668ae4ee8cdb6e71 (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < 6279211e7d2456ecd195d236c9ee5e5c6fa5a17a (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < 218a944b9e035d4b47d59c69af6ca13319da15fb (affected · git)f6fb8f100b807378fda19e83e5ac6828b638603a to < 56d82862a0a243ac14ba11b6d7b57ddc2d064b95 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.2 (affected)0 to < 3.2 (unaffected · semver)5.10.271 through 5.10.* (unaffected · semver)5.15.222 through 5.15.* (unaffected · semver)6.1.189 through 6.1.* (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.55 through 6.18.* (unaffected · semver)7.2.9 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

af_packet: fix integer overflow in prb_calc_retire_blk_tmo()

Provenance

Schema
5.2
Searchable
yes
Content hash
5dbe3a835423d06267b908e2246619b219c12376bfc773f50a21c94cbf7ad6fc
Ingested
19 Oct 2026, 09:36:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected