Home / Linux / Linux / CVE-2025-40082
CVE-2025-40082: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-40082 is an out-of-bounds read vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Linux from 5.15.190 before 5.15.200, Linux from 6.1.149 before 6.1.163, Linux from 6.6.103 before 6.6.124 and 6 more (CVE record by Linux). Fixed in 5.15.200, 6.1.163, 6.6.124, 6.12.70 and 2 more (CVE record by Linux). Severity: High (7.1, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 17:38 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-40082?
In the Linux kernel, the following vulnerability has been resolved: hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc() BUG: KASAN: slab-out-of-bounds in hfsplus_uni2asc+0xa71/0xb90 fs/hfsplus/unicode.c:186 Read of size 2 at addr ffff8880289ef218 by task syz.6.248/14290 CPU: 0 UID: 0 PID: 14290 Comm: syz.6.248 Not tainted 6.16.4 #1 PREEMPT(full) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1b0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x5f0 mm/kasan/report.c:482 kasan_report+0xca/0x100 mm/kasan/report.c:595 hfsplus_uni2asc+0xa71/0xb90 fs/hfsplus/unicode.c:186 hfsplus_listxattr+0x5b6/0xbd0 fs/hfsplus/xattr.c:738 vfs_listxattr+0xbe/0x140 fs/xattr.c:493 listxattr+0xee/0x190 fs/xattr.c:924 filename_listxattr fs/xattr.c:958 [inline] path_listxattrat+0x143/0x360 fs/xattr.c:988 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcb/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe0e9fae16d Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe0eae67f98 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3 RAX: ffffffffffffffda RBX: 00007fe0ea205fa0 RCX: 00007fe0e9fae16d RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007fe0ea0480f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe0ea206038 R14: 00007fe0ea205fa0 R15: 00007fe0eae48000 </TASK> Allocated by task 14290: kasan_save_stack+0x24/0x50 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4333 [inline] __kmalloc_noprof+0x219/0x540 mm/slub.c:4345 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x95/0x1f0 fs/hfsplus/bfind.c:21 hfsplus_listxattr+0x331/0xbd0 fs/hfsplus/xattr.c:697 vfs_listxattr+0xbe/0x140 fs/xattr.c:493 listxattr+0xee/0x190 fs/xattr.c:924 filename_listxattr fs/xattr.c:958 [inline] path_listxattrat+0x143/0x360 fs/xattr.c:988 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcb/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f When hfsplus_uni2asc is called from hfsplus_listxattr, it actually passes in a struct hfsplus_attr_unistr*. The size of the corresponding structure is different from that of hfsplus_unistr, so the previous fix (94458781aee6) is insufficient. The pointer on the unicode buffer is still going beyond the allocated memory. This patch introduces two warpper functions hfsplus_uni2asc_xattr_str and hfsplus_uni2asc_str to process two unicode buffers, struct hfsplus_attr_unistr* and struct hfsplus_unistr* respectively. When ustrlen value is bigger than the allocated memory size, the ustrlen value is limited to an safe size.
From the CVE record by Linux, last updated October 15, 2026, 22:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 5.15.190 before 5.15.200 from 6.1.149 before 6.1.163 from 6.6.103 before 6.6.124 from 6.12.43 before 6.12.70 from 5.4.297 before 5.5 from 5.10.241 before 5.11 from 6.15.11 before 6.16 from 6.16.2 before 6.17 | 5.15.200, 6.1.163, 6.6.124, 6.12.70, 5.5, 5.11, 6.16, 6.17 |
| Linux | Linux | from 6.17 until the fixed versions | 5.15.200, 6.1.163, 6.6.124, 6.12.70, 6.17.3, 6.18 |
As the CVE record by Linux states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 5.4.297 before 5.5 | operating system |
| linux | linux kernel | from 5.10.241 before 5.11 | operating system |
| linux | linux kernel | from 5.15.190 before 5.15.200 | operating system |
| linux | linux kernel | from 6.1.149 before 6.1.163 | operating system |
| linux | linux kernel | from 6.6.103 before 6.6.124 | operating system |
| linux | linux kernel | from 6.12.43 before 6.12.70 | operating system |
| linux | linux kernel | from 6.15.11 before 6.16 | operating system |
| linux | linux kernel | from 6.16.2 before 6.17.3 | operating system |
NVD analysis (status Modified), last modified October 19, 2026, 21:10 UTC.
How severe is CVE-2025-40082?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | Linux |
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-40082 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 9.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/343fe375a8dd6ee51a193a1c233b999f5ea4d479
- https://git.kernel.org/stable/c/782acde47e127c98a113726e2ff8024bd65c0454
- https://git.kernel.org/stable/c/c3db89ea1ed3d540eebe8f3c36e806fb75ee4a1e
- https://git.kernel.org/stable/c/5b5228964619b180f366940505b77255b1a03929
- https://git.kernel.org/stable/c/857aefc70d4ae3b9bf1ae67434d27d0f79f80c9e
- https://git.kernel.org/stable/c/bea3e1d4467bcf292c8e54f080353d556d355e26
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- October 28, 2025, 11:48 UTC
- CVE record updated
- October 15, 2026, 22:02 UTC by Linux
- NVD
- Modified, last modified October 19, 2026, 21:10 UTC
- Last checked
- CVE list November 28, 2026, 17:38 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-40082
Is CVE-2025-40082 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2025-40082?
Linux from 5.15.190 before 5.15.200, Linux from 6.1.149 before 6.1.163, Linux from 6.6.103 before 6.6.124, Linux from 6.12.43 before 6.12.70, Linux from 5.4.297 before 5.5, Linux from 5.10.241 before 5.11 and 3 more, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-40082?
5.15.200, 6.1.163, 6.6.124, 6.12.70, 5.5 and 5.11, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-40082?
High (7.1, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2025-40082?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.