In the Linux kernel, the following vulnerability has been resolved:
jfs: fix GPF in diFree
Avoid passing inode with
JFS_SBI(inode->i_sb)->ipimap == NULL to
diFree()[1]. GFP will appear:
struct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap;
struct inomap *imap = JFS_IP(ipimap)->i_imap;
JFS_IP() will return invalid pointer when ipimap == NULL
Call Trace:
diFree+0x13d/0x2dc0 fs/jfs/jfs_imap.c:853 [1]
jfs_evict_inode+0x2c9/0x370 fs/jfs/inode.c:154
evict+0x2ed/0x750 fs/inode.c:578
iput_final fs/inode.c:1654 [inline]
iput.part.0+0x3fe/0x820 fs/inode.c:1680
iput+0x58/0x70 fs/inode.c:1670
Security readout for executives and security teams
Plain-English summary
This Linux kernel JFS bug can crash kernel code when JFS cleanup reaches diFree with an uninitialized inode map pointer. The public record does not provide CVSS, confirmed exploitation, or a remote attack path. Business urgency is highest for systems that run affected kernels and mount or accept JFS filesystems.
Executive priority
Schedule remediation through normal kernel patch management, with faster handling for systems using JFS or processing untrusted removable or disk images. Current public evidence does not justify emergency treatment, but the bug is in kernel code and can affect system availability.
Technical view
The flaw is in fs/jfs: diFree() dereferences JFS_SBI(inode->i_sb)->ipimap through JFS_IP(ipimap). When ipimap is NULL, JFS_IP() returns an invalid pointer, leading to a general protection fault during jfs_evict_inode and inode teardown. Linux stable commits are referenced as the resolution.
Likely exposure
Exposure appears limited to Linux systems on affected kernel versions where JFS is enabled and exercised. The source lists affected versions from 2.6.36 through multiple stable branches up to 5.14. Environments that do not use JFS likely have lower practical exposure, but kernel package backports must be checked.
Exploitation context
The CVE source marks KEV as false and provides no cited evidence of active exploitation. It also does not document an exploit vector, privileges required, or whether a crafted filesystem image is needed. Treat this primarily as a kernel stability and availability concern unless vendor advisories provide more detail.
Researcher notes
The public description is narrow: NULL ipimap handling before diFree in JFS inode eviction. There is no CVSS, CWE, exploitability analysis, or distribution-specific advisory in the supplied bundle. Researchers should validate reachability against affected kernel trees and patched commits without assuming a broader impact.
Mitigation direction
Update to a vendor kernel containing the referenced Linux stable fixes.
Prioritize hosts that mount, process, or permit JFS filesystems.
Disable or restrict JFS usage where it is not operationally required.
Monitor vendor advisories for distribution-specific patched package versions.
Avoid assuming mitigation coverage from upstream version numbers alone.
Validation and detection
Inventory kernel versions and distribution patch levels across Linux assets.
Identify systems with JFS modules loaded or JFS filesystems mounted.
Map affected systems to vendor advisories or referenced stable commits.
Review kernel logs for JFS-related general protection faults.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47340 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.