Kernel crash via null ipimap dereference
Published May 21, 2024 · Updated May 11, 2026
NULL pointer dereference in Linux JFS allows local users to crash the kernel by reaching JFS inode eviction on affected systems. During jfs_evict_inode, the code calls diFree when JFS_SBI(inode->i_sb)->ipimap is NULL, causing JFS_IP to derive an invalid pointer before reading i_imap. Exploitation requires local low-privileged access and a JFS inode eviction in this invalid state; the bounded consequence is an availability-only kernel crash.
Summary
What happened
NULL pointer dereference in Linux JFS allows local users to crash the kernel by reaching JFS inode eviction on affected systems. During jfs_evict_inode, the code calls diFree when JFS_SBI(inode->i_sb)->ipimap is NULL, causing JFS_IP to derive an invalid pointer before reading i_imap. Exploitation requires local low-privileged access and a JFS inode eviction in this invalid state; the bounded consequence is an availability-only kernel crash.
The record
- CVE
- CVE-2021-47340
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.36
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <3bb27e27240289b47d3466f647a55c567adbdc3a
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <42f102ea1943ecb10a0756bf75424de5d1d5beed
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <49def1b0644892e3b113673c13d650c3060b43bc
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <745c9a59422c63f661f4374ed5181740db4130a1
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <7bde24bde490f3139eee147efc6d60d6040fe975
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <8018936950360f1c503bb385e158cfc5e4945d18
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <9d574f985fe33efd6911f4d752de6f485a1ea732
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <a21e5cb1a64c904f1f0ef7b2d386fc7d2b1d2ce2
- Affected versionversion=62aff86fdf18657d9eca7878654415f94f16d027 <aff8d95b69051d0cf4acc3d91f22299fdbb9dfb3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo