ext4: avoid OOB when system.data xattr changes underneath the filesystem
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2a6579ef5f2576a940125729f7409cc182f1c8df, 371d0bacecd529f887ea2547333d9173e7bcdc0a, 5b076d37e8d99918e9294bd6b35a8bbb436819b0; Azure Linux 3.0 ARM 6.6.56.1-5; Azure Linux 3.0 x64 6.6.56.1-5.
Low priority for now. Upgrade to Linux Linux 2a6579ef5f2576a940125729f7409cc182f1c8df, 371d0bacecd529f887ea2547333d9173e7bcdc0a, 5b076d37e8d99918e9294bd6b35a8bbb436819b0; Azure Linux 3.0 ARM 6.6.56.1-5; Azure Linux 3.0 x64 6.6.56.1-5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid OOB when system.data xattr changes underneath the filesystem When looking up for an entry in an inlined directory, if e_value_offs is changed underneath the filesystem by some change in the block device, it will lead to an out-of-bounds access that KASAN detects as an UAF. EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. loop0: detected capacity change from 2048 to 2047 ================================================================== BUG: KASAN: use-after-free in ext4_search_dir+0xf2/0x1c0 fs/ext4/namei.c:1500 Read of size 1 at addr ffff88803e91130f by task syz-executor269/5103 CPU: 0 UID: 0 PID: 5103 Comm: syz-executor269 Not tainted 6.11.0-rc4-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 ext4_search_dir+0xf2/0x1c0 fs/ext4/namei.c:1500 ext4_find_inline_entry+0x4be/0x5e0 fs/ext4/inline.c:1697 __ext4_find_entry+0x2b4/0x1b30 fs/ext4/namei.c:1573 ext4_lookup_entry fs/ext4/namei.c:1727 [inline] ext4_lookup+0x15f/0x750 fs/ext4/namei.c:1795 lookup_one_qstr_excl+0x11f/0x260 fs/namei.c:1633 filename_create+0x297/0x540 fs/namei.c:3980 do_symlinkat+0xf9/0x3a0 fs/namei.c:4587 __do_sys_symlinkat fs/namei.c:4610 [inline] __se_sys_symlinkat fs/namei.c:4607 [inline] __x64_sys_symlinkat+0x95/0xb0 fs/namei.c:4607 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3e73ced469 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff4d40c258 EFLAGS: 00000246 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0032656c69662f2e RCX: 00007f3e73ced469 RDX: 0000000020000200 RSI: 00000000ffffff9c RDI: 00000000200001c0 RBP: 0000000000000000 R08: 00007fff4d40c290 R09: 00007fff4d40c290 R10: 0023706f6f6c2f76 R11: 0000000000000246 R12: 00007fff4d40c27c R13: 0000000000000003 R14: 431bde82d7b634db R15: 00007fff4d40c2b0 </TASK> Calling ext4_xattr_ibody_find right after reading the inode with ext4_get_inode_loc will lead to a check of the validity of the xattrs, avoiding this problem.
- Published
- Oct 21, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- CWE-416
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.8 and later · before 5.10.227
- linux linux kernel5.11 and later · before 5.15.168
- linux linux kernel5.16 and later · before 6.1.113
- linux linux kernel6.2 and later · before 6.6.54
- linux linux kernel6.7 and later · before 6.10.13
- linux linux kernel6.11 and later · before 6.11.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.8affected
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before 5b076d37e8d99918e9294bd6b35a8bbb436819b0affected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before 8adf0eb4e361a9e060d54f4bd0ac9c5d85277d20affected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before 7fc22c3b3ffc0e952f5e0062dd11aa6ae76affbaaffected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before be2e9b111e2790962cc66a177869b4e9717b4e29affected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before ea32883e4a03ed575a2eb7a66542022312bde477affected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before 2a6579ef5f2576a940125729f7409cc182f1c8dfaffected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before 371d0bacecd529f887ea2547333d9173e7bcdc0aaffected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before ccb8c18076e2e630fea23fbec583cdad61787fc5affected · git
- e8e948e7802a2ab05c146d3e72a39b93b5718236 and later · before c6b72f5d82b1017bad80f9ebf502832fc321d796affected · git
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.115-1 | 6.1.115-1 |
| Debian:13 | linux | before 6.11.2-1 | 6.11.2-1 |
| openSUSE:Leap 15.6 | dtb-aarch64 | before 6.4.0-150600.23.42.1 | 6.4.0-150600.23.42.1 |
| openSUSE:Leap 15.6 | kernel-debug | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| openSUSE:Leap 15.6 | kernel-kvmsmall | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| openSUSE:Leap 15.6 | kernel-obs-qa | before 6.4.0-150600.23.42.1 | 6.4.0-150600.23.42.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_9 | before 1-150600.13.3.4 | 1-150600.13.3.4 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_9 | before 1-150600.13.3.4 | 1-150600.13.3.4 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_9 | before 1-150600.1.3.2 | 1-150600.1.3.2 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_9 | before 1-150600.1.3.2 | 1-150600.1.3.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-64kb | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-64kb | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-default | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-default | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-default-base | before 6.4.0-150600.23.42.2.150600.12.18.4 | 6.4.0-150600.23.42.2.150600.12.18.4 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-default-base | before 6.4.0-150600.23.42.2.150600.12.18.4 | 6.4.0-150600.23.42.2.150600.12.18.4 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | before 6.4.0-150600.23.42.1 | 6.4.0-150600.23.42.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | before 6.4.0-150600.23.42.1 | 6.4.0-150600.23.42.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-zfcpdump | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | kernel-zfcpdump | before 6.4.0-150600.23.42.2 | 6.4.0-150600.23.42.2 |
| SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | kernel-coco | before 6.4.0-15061.18.coco15sp6.1 | 6.4.0-15061.18.coco15sp6.1 |
| SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | kernel-coco_debug | before 6.4.0-15061.18.coco15sp6.1 | 6.4.0-15061.18.coco15sp6.1 |
| SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | kernel-source-coco | before 6.4.0-15061.18.coco15sp6.1 | 6.4.0-15061.18.coco15sp6.1 |
| SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | kernel-syms-coco | before 6.4.0-15061.18.coco15sp6.1 | 6.4.0-15061.18.coco15sp6.1 |
+20
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
Published before and after this one in the same product
- ← EarlierCVE-2024-47697Oct 21, 2024 · drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error31Monitor
- ← EarlierCVE-2024-47699Oct 21, 2024 · nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()22Monitor
- Later →CVE-2024-47702Oct 21, 2024 · bpf: Fail verification for sign-extension of packet data/data_end/data_meta22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2a6579ef5f2576a940125729f7409cc182f1c8df | Vendor (CNA) |
| Linux Linux | 371d0bacecd529f887ea2547333d9173e7bcdc0a | Vendor (CNA) |
| Linux Linux | 5b076d37e8d99918e9294bd6b35a8bbb436819b0 | Vendor (CNA) |
| Linux Linux | 7fc22c3b3ffc0e952f5e0062dd11aa6ae76affba | Vendor (CNA) |
| Linux Linux | 8adf0eb4e361a9e060d54f4bd0ac9c5d85277d20 | Vendor (CNA) |
| Linux Linux | be2e9b111e2790962cc66a177869b4e9717b4e29 | Vendor (CNA) |
| Linux Linux | c6b72f5d82b1017bad80f9ebf502832fc321d796 | Vendor (CNA) |
| Linux Linux | ccb8c18076e2e630fea23fbec583cdad61787fc5 | Vendor (CNA) |
| Linux Linux | ea32883e4a03ed575a2eb7a66542022312bde477 | Vendor (CNA) |
| Azure Linux 3.0 ARM | 6.6.56.1-5 · kernel | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 6.6.56.1-5 · kernel | Microsoft (MSRC) |
| CBL Mariner 2.0 ARM | 5.15.173.1-1 · kernel | Microsoft (MSRC) |
| CBL Mariner 2.0 x64 | 5.15.173.1-1 · kernel | Microsoft (MSRC) |
| debian:linux | 6.1.115-1 · Debian:12 | Package registry (OSV) |
| opensuse:kernel-azure | 6.4.0-150600.8.31.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-azure | 6.4.0-150600.8.31.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 6.4.0-150600.8.31.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:kernel-64kb | 6.4.0-150600.23.42.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-azure | 6.4.0-150600.8.31.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-coco | 6.4.0-15061.18.coco15sp6.1 · SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | Package registry (OSV) |
| suse:kernel-coco_debug | 6.4.0-15061.18.coco15sp6.1 · SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | Package registry (OSV) |
| suse:kernel-default | 6.4.0-150600.23.42.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-default-base | 6.4.0-150600.23.42.2.150600.12.18.4 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-docs | 6.4.0-150600.23.42.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Package registry (OSV) |
| suse:kernel-source | 6.4.0-150600.23.42.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-source-azure | 6.4.0-150600.8.31.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-source-coco | 6.4.0-15061.18.coco15sp6.1 · SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | Package registry (OSV) |
| suse:kernel-syms-azure | 6.4.0-150600.8.31.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-syms-coco | 6.4.0-15061.18.coco15sp6.1 · SUSE:Linux Enterprise Module for Confidential Computing Technical Preview 15 SP6 | Package registry (OSV) |
| suse:kernel-zfcpdump | 6.4.0-150600.23.42.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);Fixed
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- git.kernel.org/stable/c/371d0bacecd529f887ea2547333d9173e7bcdc0a
- git.kernel.org/stable/c/5b076d37e8d99918e9294bd6b35a8bbb436819b0
- git.kernel.org/stable/c/7fc22c3b3ffc0e952f5e0062dd11aa6ae76affba
- git.kernel.org/stable/c/8adf0eb4e361a9e060d54f4bd0ac9c5d85277d20
- git.kernel.org/stable/c/be2e9b111e2790962cc66a177869b4e9717b4e29
- git.kernel.org/stable/c/c6b72f5d82b1017bad80f9ebf502832fc321d796
- git.kernel.org/stable/c/ccb8c18076e2e630fea23fbec583cdad61787fc5
- git.kernel.org/stable/c/ea32883e4a03ed575a2eb7a66542022312bde477
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com/productcert/html/ssa-355557.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.