LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47340: jfs: fix GPF in diFree

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

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.
  • Confirm patched kernels are running after reboot.
Prepared
Confidence
medium
Sources
11

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.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

0CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027, 62aff86fdf18657d9eca7878654415f94f16d027unaffected
LinuxLinux2.6.36, 0, 4.4.276, 4.9.276, 4.14.240, 4.19.198, 5.4.133, 5.10.51, 5.12.18, 5.13.3, 5.14affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.