{
  "threat_severity" : "Moderate",
  "public_date" : "2024-10-21T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: ppp: fix ppp_async_encode() illegal access",
    "id" : "2320636",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2320636"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-908",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nppp: fix ppp_async_encode() illegal access\nsyzbot reported an issue in ppp_async_encode() [1]\nIn this case, pppoe_sendmsg() is called with a zero size.\nThen ppp_async_encode() is called with an empty skb.\nBUG: KMSAN: uninit-value in ppp_async_encode drivers/net/ppp/ppp_async.c:545 [inline]\nBUG: KMSAN: uninit-value in ppp_async_push+0xb4f/0x2660 drivers/net/ppp/ppp_async.c:675\nppp_async_encode drivers/net/ppp/ppp_async.c:545 [inline]\nppp_async_push+0xb4f/0x2660 drivers/net/ppp/ppp_async.c:675\nppp_async_send+0x130/0x1b0 drivers/net/ppp/ppp_async.c:634\nppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2280 [inline]\nppp_input+0x1f1/0xe60 drivers/net/ppp/ppp_generic.c:2304\npppoe_rcv_core+0x1d3/0x720 drivers/net/ppp/pppoe.c:379\nsk_backlog_rcv+0x13b/0x420 include/net/sock.h:1113\n__release_sock+0x1da/0x330 net/core/sock.c:3072\nrelease_sock+0x6b/0x250 net/core/sock.c:3626\npppoe_sendmsg+0x2b8/0xb90 drivers/net/ppp/pppoe.c:903\nsock_sendmsg_nosec net/socket.c:729 [inline]\n__sock_sendmsg+0x30f/0x380 net/socket.c:744\n____sys_sendmsg+0x903/0xb60 net/socket.c:2602\n___sys_sendmsg+0x28d/0x3c0 net/socket.c:2656\n__sys_sendmmsg+0x3c1/0x960 net/socket.c:2742\n__do_sys_sendmmsg net/socket.c:2771 [inline]\n__se_sys_sendmmsg net/socket.c:2768 [inline]\n__x64_sys_sendmmsg+0xbc/0x120 net/socket.c:2768\nx64_sys_call+0xb6e/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:308\ndo_syscall_x64 arch/x86/entry/common.c:52 [inline]\ndo_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83\nentry_SYSCALL_64_after_hwframe+0x77/0x7f\nUninit was created at:\nslab_post_alloc_hook mm/slub.c:4092 [inline]\nslab_alloc_node mm/slub.c:4135 [inline]\nkmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4187\nkmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:587\n__alloc_skb+0x363/0x7b0 net/core/skbuff.c:678\nalloc_skb include/linux/skbuff.h:1322 [inline]\nsock_wmalloc+0xfe/0x1a0 net/core/sock.c:2732\npppoe_sendmsg+0x3a7/0xb90 drivers/net/ppp/pppoe.c:867\nsock_sendmsg_nosec net/socket.c:729 [inline]\n__sock_sendmsg+0x30f/0x380 net/socket.c:744\n____sys_sendmsg+0x903/0xb60 net/socket.c:2602\n___sys_sendmsg+0x28d/0x3c0 net/socket.c:2656\n__sys_sendmmsg+0x3c1/0x960 net/socket.c:2742\n__do_sys_sendmmsg net/socket.c:2771 [inline]\n__se_sys_sendmmsg net/socket.c:2768 [inline]\n__x64_sys_sendmmsg+0xbc/0x120 net/socket.c:2768\nx64_sys_call+0xb6e/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:308\ndo_syscall_x64 arch/x86/entry/common.c:52 [inline]\ndo_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83\nentry_SYSCALL_64_after_hwframe+0x77/0x7f\nCPU: 1 UID: 0 PID: 5411 Comm: syz.1.14 Not tainted 6.12.0-rc1-syzkaller-00165-g360c1f1f24c6 #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024" ],
  "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" : "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" : "Will not fix",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Will not fix",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-50035\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-50035\nhttps://lore.kernel.org/linux-cve-announce/2024102132-CVE-2024-50035-82d8@gregkh/T" ],
  "name" : "CVE-2024-50035",
  "csaw" : false
}