CVE-2024-56638

HIGH EPSS 12.7%
Published Dec 27, 20241y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Dec 27, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_inner: incorrect percpu area handling under softirq Softirq can interrupt ongoing packet from process context that is walking over the percpu area that contains inner header offsets. Disable bh and perform three checks before restoring the percpu inner header offsets to validate that the percpu area is valid for this skbuff: 1) If the NFT_PKTINFO_INNER_FULL flag is set on, then this skbuff has already been parsed before for inner header fetching to register. 2) Validate that the percpu area refers to this skbuff using the skbuff pointer as a cookie. If there is a cookie mismatch, then this skbuff needs to be parsed again. 3) Finally, validate if the percpu area refers to this tunnel type. Only after these three checks the percpu area is restored to a on-stack copy and bh is enabled again. After inner header fetching, the on-stack copy is stored back to the percpu area.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
12.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 3

VendorProductVersionRange
linuxlinux_kernel*≥6.2  –  <6.6.66
linuxlinux_kernel*≥6.7  –  <6.12.5
linuxlinux_kernel6.13any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/53c7314208c865086d78b4e88da53bc33da0b603
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7b1d83da254be3bf054965c8f3b1ad976f460ae5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/da5cc778e7bf78fe525bc90ec2043f41415c31d9
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/53c7314208c865086d78b4e88da53bc33da0b603
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7b1d83da254be3bf054965c8f3b1ad976f460ae5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/da5cc778e7bf78fe525bc90ec2043f41415c31d9
    Patch