Menu

Star on GitHub · 3.4k

CVE-2022-48974

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: fix using __this_cpu_add in preemptible Currently in nf_conntrack_hash_check_insert(), when it fails in n…

Published Oct 21, 2024EPSS 0.21%

Overview

CVE-2022-48974 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

netfilter: conntrack: fix using __this_cpu_add in preemptible

Currently in nf_conntrack_hash_check_insert(), when it fails in

nf_ct_ext_valid_pre/post(), NF_CT_STAT_INC() will be called in the

preemptible context, a call trace can be triggered:

BUG: using __this_cpu_add() in preemptible [00000000] code: conntrack/1636

caller is nf_conntrack_hash_check_insert+0x45/0x430 [nf_conntrack]

Call Trace:

<TASK>

dump_stack_lvl+0x33/0x46

check_preemption_disabled+0xc3/0xf0

nf_conntrack_hash_check_insert+0x45/0x430 [nf_conntrack]

ctnetlink_create_conntrack+0x3cd/0x4e0 [nf_conntrack_netlink]

ctnetlink_new_conntrack+0x1c0/0x450 [nf_conntrack_netlink]

nfnetlink_rcv_msg+0x277/0x2f0 [nfnetlink]

netlink_rcv_skb+0x50/0x100

nfnetlink_rcv+0x65/0x144 [nfnetlink]

netlink_unicast+0x1ae/0x290

netlink_sendmsg+0x257/0x4f0

sock_sendmsg+0x5f/0x70

This patch is to fix it by changing to us

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-48974?

CVE-2022-48974 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-48974?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-48974?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-48974?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-48974 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all
LiveWatch live →