CVE-2024-38599: jffs2: prevent xattr node from overflowing the eraseblock
Noroxi assessment
Priority: Monitor (action score 28/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 2904e1d9b64f72d291095e3cbb31634f08788b11, 526235dffcac74c7823ed504dfac4f88d84ba5df, 8d431391320c5c5398ff966fb3a95e68a7def275.
Low priority for now. Upgrade to Linux Linux 2904e1d9b64f72d291095e3cbb31634f08788b11, 526235dffcac74c7823ed504dfac4f88d84ba5df, 8d431391320c5c5398ff966fb3a95e68a7def275 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: jffs2: prevent xattr node from overflowing the eraseblock Add a check to make sure that the requested xattr node size is no larger than the eraseblock minus the cleanmarker. Unlike the usual inode nodes, the xattr nodes aren't split into parts and spread across multiple eraseblocks, which means that a xattr node must not occupy more than one eraseblock. If the requested xattr value is too large, the xattr node can spill onto the next eraseblock, overwriting the nodes and causing errors such as: jffs2: argh. node added in wrong place at 0x0000b050(2) jffs2: nextblock 0x0000a000, expected at 0000b00c jffs2: error: (823) do_verify_xattr_datum: node CRC failed at 0x01e050, read=0xfc892c93, calc=0x000000 jffs2: notice: (823) jffs2_get_inode_nodes: Node header CRC failed at 0x01e00c. {848f,2fc4,0fef511f,59a3d171} jffs2: Node at 0x0000000c with length 0x00001044 would run over the end of the erase block jffs2: Perhaps the file system was created with the wrong erase size? jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x1044 instead This breaks the filesystem and can lead to KASAN crashes such as: BUG: KASAN: slab-out-of-bounds in jffs2_sum_add_kvec+0x125e/0x15d0 Read of size 4 at addr ffff88802c31e914 by task repro/830 CPU: 0 PID: 830 Comm: repro Not tainted 6.9.0-rc3+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Arch Linux 1.16.3-1-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0xc6/0x120 print_report+0xc4/0x620 ? __virt_addr_valid+0x308/0x5b0 kasan_report+0xc1/0xf0 ? jffs2_sum_add_kvec+0x125e/0x15d0 ? jffs2_sum_add_kvec+0x125e/0x15d0 jffs2_sum_add_kvec+0x125e/0x15d0 jffs2_flash_direct_writev+0xa8/0xd0 jffs2_flash_writev+0x9c9/0xef0 ? __x64_sys_setxattr+0xc4/0x160 ? do_syscall_64+0x69/0x140 ? entry_SYSCALL_64_after_hwframe+0x76/0x7e [...] Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
- Published
- Jun 19, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 15th percentile
- CWE
- CWE-125
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 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.1
- CNA · Linux
- 7.8
- 0.7 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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 kernel2.6.18 and later · before 4.19.316
- linux linux kernel4.20 and later · before 5.4.278
- linux linux kernel5.5 and later · before 5.10.219
- linux linux kernel5.11 and later · before 5.15.161
- linux linux kernel5.16 and later · before 6.1.93
- linux linux kernel6.2 and later · before 6.6.33
- linux linux kernel6.7 and later · before 6.8.12
- linux linux kernel6.9 and later · before 6.9.3
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
- 2.6.18affected
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 2904e1d9b64f72d291095e3cbb31634f08788b11affected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 526235dffcac74c7823ed504dfac4f88d84ba5dfaffected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before f0eea095ce8c959b86e1e57fe36ca4fea5ae54f8affected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before a1d21bcd78cf4a4353e1e835789429c6b76aca8baffected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before f06969df2e40ab1dc8f4364a5de967830c74a098affected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before af82d8d2179b7277ad627c39e7e0778f1c86ccdbaffected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 8d431391320c5c5398ff966fb3a95e68a7def275affected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before 978a12c91b38bf1a213e567f3c20e2beef215f07affected · git
- aa98d7cf59b5b0764d3502662053489585faf2fe and later · before c6854e5a267c28300ff045480b5a7ee7f6f1d913affected · 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.94-1 | 6.1.94-1 |
| Debian:13 | linux | before 6.8.12-1 | 6.8.12-1 |
| openSUSE:Leap 15.6 | kernel-azure | before 6.4.0-150600.8.17.2 | 6.4.0-150600.8.17.2 |
| openSUSE:Leap 15.6 | kernel-rt | before 6.4.0-150600.10.17.1 | 6.4.0-150600.10.17.1 |
| openSUSE:Leap 15.6 | kernel-rt_debug | before 6.4.0-150600.10.17.1 | 6.4.0-150600.10.17.1 |
| openSUSE:Leap 15.6 | kernel-source-azure | before 6.4.0-150600.8.17.1 | 6.4.0-150600.8.17.1 |
| openSUSE:Leap 15.6 | kernel-source-rt | before 6.4.0-150600.10.17.1 | 6.4.0-150600.10.17.1 |
| openSUSE:Leap 15.6 | kernel-syms-azure | before 6.4.0-150600.8.17.1 | 6.4.0-150600.8.17.1 |
| openSUSE:Leap 15.6 | kernel-syms-rt | before 6.4.0-150600.10.17.1 | 6.4.0-150600.10.17.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | before 5.14.21-150500.55.94.1 | 5.14.21-150500.55.94.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | before 5.14.21-150500.55.94.1 | 5.14.21-150500.55.94.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | before 5.14.21-150500.55.94.1 | 5.14.21-150500.55.94.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | before 5.14.21-150500.55.94.1 | 5.14.21-150500.55.94.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_23 | before 1-150500.11.3.1 | 1-150500.11.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_5 | before 1-150600.1.3.1 | 1-150600.1.3.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default | before 5.14.21-150500.55.94.1 | 5.14.21-150500.55.94.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default-base | before 5.14.21-150500.55.94.1.150500.6.43.1 | 5.14.21-150500.55.94.1.150500.6.43.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-rt | before 5.14.21-150500.13.85.1 | 5.14.21-150500.13.85.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source | before 5.14.21-150500.55.94.1 | 5.14.21-150500.55.94.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source-rt | before 5.14.21-150500.13.85.1 | 5.14.21-150500.13.85.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | kernel-azure | before 6.4.0-150600.8.17.2 | 6.4.0-150600.8.17.2 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | kernel-source-azure | before 6.4.0-150600.8.17.1 | 6.4.0-150600.8.17.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | kernel-syms-azure | before 6.4.0-150600.8.17.1 | 6.4.0-150600.8.17.1 |
| SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-default | before 3.0.101-108.168.1 | 3.0.101-108.168.1 |
+16
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- 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
Published before and after this one in the same product
- ← EarlierCVE-2024-38596Jun 19, 2024 · af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg18Monitor
- ← EarlierCVE-2024-38598Jun 19, 2024 · md: fix resync softlockup when bitmap size is less than array size22Monitor
- Later →CVE-2024-38608Jun 19, 2024 · net/mlx5e: Fix netif state handling22Monitor
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 | 2904e1d9b64f72d291095e3cbb31634f08788b11 | Vendor (CNA) |
| Linux Linux | 526235dffcac74c7823ed504dfac4f88d84ba5df | Vendor (CNA) |
| Linux Linux | 8d431391320c5c5398ff966fb3a95e68a7def275 | Vendor (CNA) |
| Linux Linux | 978a12c91b38bf1a213e567f3c20e2beef215f07 | Vendor (CNA) |
| Linux Linux | a1d21bcd78cf4a4353e1e835789429c6b76aca8b | Vendor (CNA) |
| Linux Linux | af82d8d2179b7277ad627c39e7e0778f1c86ccdb | Vendor (CNA) |
| Linux Linux | c6854e5a267c28300ff045480b5a7ee7f6f1d913 | Vendor (CNA) |
| Linux Linux | f06969df2e40ab1dc8f4364a5de967830c74a098 | Vendor (CNA) |
| Linux Linux | f0eea095ce8c959b86e1e57fe36ca4fea5ae54f8 | Vendor (CNA) |
| debian:linux | 6.1.94-1 · Debian:12 | Package registry (OSV) |
| opensuse:kernel-azure | 6.4.0-150600.8.17.2 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-rt | 6.4.0-150600.10.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-rt_debug | 6.4.0-150600.10.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-azure | 6.4.0-150600.8.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-rt | 6.4.0-150600.10.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 6.4.0-150600.8.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-rt | 6.4.0-150600.10.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:kernel-azure | 6.4.0-150600.8.17.2 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-default | 3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-ec2 | 3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_5 | 1-150600.1.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-rt | 6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-rt_debug | 6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-source | 3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-source-azure | 6.4.0-150600.8.17.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-source-rt | 6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-syms | 3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
| suse:kernel-syms-azure | 6.4.0-150600.8.17.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-syms-rt | 6.4.0-150600.10.17.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-trace | 3.0.101-108.159.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Package registry (OSV) |
+1
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
- none
- 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
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/526235dffcac74c7823ed504dfac4f88d84ba5df
- git.kernel.org/stable/c/8d431391320c5c5398ff966fb3a95e68a7def275
- git.kernel.org/stable/c/978a12c91b38bf1a213e567f3c20e2beef215f07
- git.kernel.org/stable/c/a1d21bcd78cf4a4353e1e835789429c6b76aca8b
- git.kernel.org/stable/c/af82d8d2179b7277ad627c39e7e0778f1c86ccdb
- git.kernel.org/stable/c/c6854e5a267c28300ff045480b5a7ee7f6f1d913
- git.kernel.org/stable/c/f06969df2e40ab1dc8f4364a5de967830c74a098
- git.kernel.org/stable/c/f0eea095ce8c959b86e1e57fe36ca4fea5ae54f8
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.