Related Vulnerabilities: CVE-2022-36946  

nfqnl_mangle in net/netfilter/nfnetlink_queue.c in the Linux kernel through 5.18.14 allows remote attackers to cause a denial of service (panic) because, in the case of an nf_queue verdict with a one-byte nfta_payload attribute, an skb_pull can encounter a negative skb->len.

Description

The MITRE CVE dictionary describes this issue as:

nfqnl_mangle in net/netfilter/nfnetlink_queue.c in the Linux kernel through 5.18.14 allows remote attackers to cause a denial of service (panic) because, in the case of an nf_queue verdict with a one-byte nfta_payload attribute, an skb_pull can encounter a negative skb->len.

Mitigation

To mitigate this issue, prevent module nfnetlink_queue from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

Additional Information

  • Bugzilla 2115278: CVE-2022-36946 kernel: Dos in nfqnl_mangle in net/netfilter/nfnetlink_queue.c in the Linux kernel
  • FAQ: Frequently asked questions about CVE-2022-36946