Bug 2397555 (CVE-2025-39867) - CVE-2025-39867 kernel: netfilter: nft_set_pipapo: fix null deref for empty set
Summary: CVE-2025-39867 kernel: netfilter: nft_set_pipapo: fix null deref for empty set
Keywords:
Status: NEW
Alias: CVE-2025-39867
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-23 07:01 UTC by OSIDB Bzimport
Modified: 2025-11-07 13:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-23 07:01:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

netfilter: nft_set_pipapo: fix null deref for empty set

Blamed commit broke the check for a null scratch map:
  -  if (unlikely(!m || !*raw_cpu_ptr(m->scratch)))
  +  if (unlikely(!raw_cpu_ptr(m->scratch)))

This should have been "if (!*raw_ ...)".
Use the pattern of the avx2 version which is more readable.

This can only be reproduced if avx2 support isn't available.


Note You need to log in before you can comment on or make changes to this bug.