{
  "threat_severity" : "Low",
  "public_date" : "2024-07-30T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: bpf: mark bpf_dummy_struct_ops.test_1 parameter as nullable",
    "id" : "2301518",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2301518"
  },
  "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" : "draft"
  },
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nbpf: mark bpf_dummy_struct_ops.test_1 parameter as nullable\nTest case dummy_st_ops/dummy_init_ret_value passes NULL as the first\nparameter of the test_1() function. Mark this parameter as nullable to\nmake verifier aware of such possibility.\nOtherwise, NULL check in the test_1() code:\nSEC(\"struct_ops/test_1\")\nint BPF_PROG(test_1, struct bpf_dummy_ops_state *state)\n{\nif (!state)\nreturn ...;\n... access state ...\n}\nMight be removed by verifier, thus triggering NULL pointer dereference\nunder certain conditions.", "A possible NULL pointer dereference was found in the Linux kernel in net/bpf/bpf_dummy_struct_ops.c. This may lead to compromised Availability." ],
  "statement" : "Red Hat Enterprise Linux 7 and 8 are not affected by this vulnerability.",
  "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" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-42151\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-42151\nhttps://lore.kernel.org/linux-cve-announce/2024073033-CVE-2024-42151-b34a@gregkh/T" ],
  "name" : "CVE-2024-42151",
  "csaw" : false
}