VDB

CVE-2024-56638

CVE-2024-56638 PUBLISHED

netfilter: nft_inner: incorrect percpu area handling under softirq

Reported by linux · Published December 27, 2024

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.

Affected products

VendorProductVersions
LinuxLinux3a07327d10a09379315c844c63f27941f5081e0a, 3a07327d10a09379315c844c63f27941f5081e0a, 3a07327d10a09379315c844c63f27941f5081e0a
LinuxLinux6.2, 0, 6.6.66
linuxlinux_kernel6.2, 6.2, 6.2
LinuxLinux3a07327d10a09379315c844c63f27941f5081e0a, 3a07327d10a09379315c844c63f27941f5081e0a, 3a07327d10a09379315c844c63f27941f5081e0a

Timeline

  • Dec 27, 2024 CVE Published
  • Dec 28, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 31, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Dec 29, 2025 Security Advisory (438 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (356 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56638
vulnetix vdb fixes CVE-2024-56638

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56638/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›