CVE-2025-22110

netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error

published April 16, 2025

CVSS
—
EPSS
0%
Percentile
31.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error

It is possible that ctx in nfqnl_build_packet_message() could be used

before it is properly initialize, which is only initialized

by nfqnl_get_sk_secctx().

This patch corrects this problem by initializing the lsmctx to a safe

value when it is declared.

This is similar to the commit 35fcac7a7c25

("audit: Initialize lsmctx to avoid memory allocation error").

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00388 · 31.7th percentile
Published
2025-04-16T14:12Z
EPSS history
Timeline
  • 16 APR 14:12Z
    netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error
    cvelistv5