{
  "threat_severity" : "Moderate",
  "public_date" : "2024-10-21T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: netfilter: conntrack: fix using __this_cpu_add in preemptible",
    "id" : "2320729",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2320729"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-99",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nnetfilter: conntrack: fix using __this_cpu_add in preemptible\nCurrently in nf_conntrack_hash_check_insert(), when it fails in\nnf_ct_ext_valid_pre/post(), NF_CT_STAT_INC() will be called in the\npreemptible context, a call trace can be triggered:\nBUG: using __this_cpu_add() in preemptible [00000000] code: conntrack/1636\ncaller is nf_conntrack_hash_check_insert+0x45/0x430 [nf_conntrack]\nCall Trace:\n<TASK>\ndump_stack_lvl+0x33/0x46\ncheck_preemption_disabled+0xc3/0xf0\nnf_conntrack_hash_check_insert+0x45/0x430 [nf_conntrack]\nctnetlink_create_conntrack+0x3cd/0x4e0 [nf_conntrack_netlink]\nctnetlink_new_conntrack+0x1c0/0x450 [nf_conntrack_netlink]\nnfnetlink_rcv_msg+0x277/0x2f0 [nfnetlink]\nnetlink_rcv_skb+0x50/0x100\nnfnetlink_rcv+0x65/0x144 [nfnetlink]\nnetlink_unicast+0x1ae/0x290\nnetlink_sendmsg+0x257/0x4f0\nsock_sendmsg+0x5f/0x70\nThis patch is to fix it by changing to use NF_CT_STAT_INC_ATOMIC() for\nnf_ct_ext_valid_pre/post() check in nf_conntrack_hash_check_insert(),\nas well as nf_ct_ext_valid_post() in __nf_conntrack_confirm().\nNote that nf_ct_ext_valid_pre() check in __nf_conntrack_confirm() is\nsafe to use NF_CT_STAT_INC(), as it's under local_bh_disable()." ],
  "statement" : "This issue is fixed in RHEL-9.2 and above\n~~~\nin (rhel-9.2, rhel-9.3, rhel-9.4, rhel-9.5, rhel-9.6) netfilter: conntrack: fix using __this_cpu_add in preemptible\n~~~\nPlease note that while RHEL-9 kernel-rt still appears as affected, it has been fixed in the same RHSA as RHEL-9 kernel. This is because from RHEL-9.3 onwards, the kernel and kernel-rt fixes are bundled together in a single errata.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-48974\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-48974\nhttps://lore.kernel.org/linux-cve-announce/2024102145-CVE-2022-48974-d2d0@gregkh/T" ],
  "name" : "CVE-2022-48974",
  "csaw" : false
}