CVE-2024-49888
publishedbpf: Fix a sdiv overflow issue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxec0e2da95f72d4a46050a4d994e4fe471474fd80 to < 45f2bbe7bc08d716a07a40025c672cad93180903 · ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < 4902a6a0dc593c82055fc8c9ada371bafe26c9cc · ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < d22e45a369afc7c28f11acfa5b5e8e478227ca5d · ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < 7dd34d7b7dcf9309fc6224caf4dd5b35bedddcb7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.10.14 through 6.10.* (unaffected · semver) · 6.11.3 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.4.0-503.19.1.el9_5 | ALSA-2024:11486 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.19.1.el9_5 | ELSA-2024-11486 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | rtlaaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a sdiv overflow issue Zac Ecob reported a problem where a bpf program may cause kernel crash due to the following error: Oops: divide error: 0000 [#1] PREEMPT SMP KASAN PTI The failure is due to the below signed divide: LLONG_MIN/-1 where LLONG_MIN equals to -9,223,372,036,854,775,808. LLONG_MIN/-1 is supposed to give a positive number 9,223,372,036,854,775,808, but it is impossible since for 64-bit system, the maximum positive number is 9,223,372,036,854,775,807. On x86_64, LLONG_MIN/-1 will cause a kernel exception. On arm64, the result for LLONG_MIN/-1 is LLONG_MIN. Further investigation found all the following sdiv/smod cases may trigger an exception when bpf program is running on x86_64 platform: - LLONG_MIN/-1 for 64bit operation - INT_MIN/-1 for 32bit operation - LLONG_MIN%-1 for 64bit operation - INT_MIN%-1 for 32bit operation where -1 can be an immediate or in a register. On arm64, there are no exceptions: - LLONG_MIN/-1 = LLONG_MIN - INT_MIN/-1 = INT_MIN - LLONG_MIN%-1 = 0 - INT_MIN%-1 = 0 where -1 can be an immediate or in a register. Insn patching is needed to handle the above cases and the patched codes produced results aligned with above arm64 result. The below are pseudo codes to handle sdiv/smod exceptions including both divisor -1 and divisor 0 and the divisor is stored in a register. sdiv: tmp = rX tmp += 1 /* [-1, 0] -> [0, 1] if tmp >(unsigned) 1 goto L2 if tmp == 0 goto L1 rY = 0 L1: rY = -rY; goto L3 L2: rY /= rX L3: smod: tmp = rX tmp += 1 /* [-1, 0] -> [0, 1] if tmp >(unsigned) 1 goto L1 if tmp == 1 (is64 ? goto L2 : goto L3) rY = 0; goto L2 L1: rY %= rX L2: goto L4 // only when !is64 L3: wY = wY // only when !is64 L4: [1] https://lore.kernel.org/bpf/tPJLTEh7S_DxFEqAI2Ji5MBSoZVg7_G-Py2iaZpAaWtM961fFTWtsnlzwvTbzBzaUzwQAoNATXKUlt0LZOFgnDcIyKCswAnAGdUF3LBrhGQ=@protonmail.com/
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < 45f2bbe7bc08d716a07a40025c672cad93180903 (affected · git)ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < 4902a6a0dc593c82055fc8c9ada371bafe26c9cc (affected · git)ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < d22e45a369afc7c28f11acfa5b5e8e478227ca5d (affected · git)ec0e2da95f72d4a46050a4d994e4fe471474fd80 to < 7dd34d7b7dcf9309fc6224caf4dd5b35bedddcb7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.10.14 through 6.10.* (unaffected · semver)6.11.3 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
bpf: Fix a sdiv overflow issue
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b3fba1db34b96143898ce194c8747ebc64a0ca3b5bb94809a3576b343fd2f463
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record