{
  "threat_severity" : "Low",
  "public_date" : "2024-04-17T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: packet: annotate data-races around ignore_outgoing",
    "id" : "2275727",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2275727"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-362",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\npacket: annotate data-races around ignore_outgoing\nignore_outgoing is read locklessly from dev_queue_xmit_nit()\nand packet_getsockopt()\nAdd appropriate READ_ONCE()/WRITE_ONCE() annotations.\nsyzbot reported:\nBUG: KCSAN: data-race in dev_queue_xmit_nit / packet_setsockopt\nwrite to 0xffff888107804542 of 1 bytes by task 22618 on cpu 0:\npacket_setsockopt+0xd83/0xfd0 net/packet/af_packet.c:4003\ndo_sock_setsockopt net/socket.c:2311 [inline]\n__sys_setsockopt+0x1d8/0x250 net/socket.c:2334\n__do_sys_setsockopt net/socket.c:2343 [inline]\n__se_sys_setsockopt net/socket.c:2340 [inline]\n__x64_sys_setsockopt+0x66/0x80 net/socket.c:2340\ndo_syscall_64+0xd3/0x1d0\nentry_SYSCALL_64_after_hwframe+0x6d/0x75\nread to 0xffff888107804542 of 1 bytes by task 27 on cpu 1:\ndev_queue_xmit_nit+0x82/0x620 net/core/dev.c:2248\nxmit_one net/core/dev.c:3527 [inline]\ndev_hard_start_xmit+0xcc/0x3f0 net/core/dev.c:3547\n__dev_queue_xmit+0xf24/0x1dd0 net/core/dev.c:4335\ndev_queue_xmit include/linux/netdevice.h:3091 [inline]\nbatadv_send_skb_packet+0x264/0x300 net/batman-adv/send.c:108\nbatadv_send_broadcast_skb+0x24/0x30 net/batman-adv/send.c:127\nbatadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline]\nbatadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline]\nbatadv_iv_send_outstanding_bat_ogm_packet+0x3f0/0x4b0 net/batman-adv/bat_iv_ogm.c:1700\nprocess_one_work kernel/workqueue.c:3254 [inline]\nprocess_scheduled_works+0x465/0x990 kernel/workqueue.c:3335\nworker_thread+0x526/0x730 kernel/workqueue.c:3416\nkthread+0x1d1/0x210 kernel/kthread.c:388\nret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147\nret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243\nvalue changed: 0x00 -> 0x01\nReported by Kernel Concurrency Sanitizer on:\nCPU: 1 PID: 27 Comm: kworker/u8:1 Tainted: G        W          6.8.0-syzkaller-08073-g480e035fc4c7 #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024\nWorkqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet" ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-11-12T00:00:00Z",
    "advisory" : "RHSA-2024:9315",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-503.11.1.el9_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-11-12T00:00:00Z",
    "advisory" : "RHSA-2024:9315",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-503.11.1.el9_5"
  } ],
  "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-2024-26862\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-26862\nhttps://lore.kernel.org/linux-cve-announce/2024041736-CVE-2024-26862-2605@gregkh/T" ],
  "name" : "CVE-2024-26862",
  "csaw" : false
}