{
  "threat_severity" : "Moderate",
  "public_date" : "2024-12-02T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: net/mlx5e: CT: Fix null-ptr-deref in add rule err flow",
    "id" : "2329930",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2329930"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-476",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nnet/mlx5e: CT: Fix null-ptr-deref in add rule err flow\nIn error flow of mlx5_tc_ct_entry_add_rule(), in case ct_rule_add()\ncallback returns error, zone_rule->attr is used uninitiated. Fix it to\nuse attr which has the needed pointer value.\nKernel log:\nBUG: kernel NULL pointer dereference, address: 0000000000000110\nRIP: 0010:mlx5_tc_ct_entry_add_rule+0x2b1/0x2f0 [mlx5_core]\n…\nCall Trace:\n<TASK>\n? __die+0x20/0x70\n? page_fault_oops+0x150/0x3e0\n? exc_page_fault+0x74/0x140\n? asm_exc_page_fault+0x22/0x30\n? mlx5_tc_ct_entry_add_rule+0x2b1/0x2f0 [mlx5_core]\n? mlx5_tc_ct_entry_add_rule+0x1d5/0x2f0 [mlx5_core]\nmlx5_tc_ct_block_flow_offload+0xc6a/0xf90 [mlx5_core]\n? nf_flow_offload_tuple+0xd8/0x190 [nf_flow_table]\nnf_flow_offload_tuple+0xd8/0x190 [nf_flow_table]\nflow_offload_work_handler+0x142/0x320 [nf_flow_table]\n? finish_task_switch.isra.0+0x15b/0x2b0\nprocess_one_work+0x16c/0x320\nworker_thread+0x28c/0x3a0\n? __pfx_worker_thread+0x10/0x10\nkthread+0xb8/0xf0\n? __pfx_kthread+0x10/0x10\nret_from_fork+0x2d/0x50\n? __pfx_kthread+0x10/0x10\nret_from_fork_asm+0x1a/0x30\n</TASK>" ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "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-2024-53120\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-53120\nhttps://lore.kernel.org/linux-cve-announce/2024120251-CVE-2024-53120-65fd@gregkh/T" ],
  "name" : "CVE-2024-53120",
  "csaw" : false
}