{"id":"CVE-2024-26707","summary":"net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()\n\nSyzkaller reported [1] hitting a warning after failing to allocate\nresources for skb in hsr_init_skb(). Since a WARN_ONCE() call will\nnot help much in this case, it might be prudent to switch to\nnetdev_warn_once(). At the very least it will suppress syzkaller\nreports such as [1].\n\nJust in case, use netdev_warn_once() in send_prp_supervision_frame()\nfor similar reasons.\n\n[1]\nHSR: Could not send supervision frame\nWARNING: CPU: 1 PID: 85 at net/hsr/hsr_device.c:294 send_hsr_supervision_frame+0x60a/0x810 net/hsr/hsr_device.c:294\nRIP: 0010:send_hsr_supervision_frame+0x60a/0x810 net/hsr/hsr_device.c:294\n...\nCall Trace:\n \u003cIRQ\u003e\n hsr_announce+0x114/0x370 net/hsr/hsr_device.c:382\n call_timer_fn+0x193/0x590 kernel/time/timer.c:1700\n expire_timers kernel/time/timer.c:1751 [inline]\n __run_timers+0x764/0xb20 kernel/time/timer.c:2022\n run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035\n __do_softirq+0x21a/0x8de kernel/softirq.c:553\n invoke_softirq kernel/softirq.c:427 [inline]\n __irq_exit_rcu kernel/softirq.c:632 [inline]\n irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644\n sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076\n \u003c/IRQ\u003e\n \u003cTASK\u003e\n asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649\n...\n\nThis issue is also found in older kernels (at least up to 5.10).","modified":"2026-04-02T10:05:37.538331Z","published":"2024-04-03T14:55:10.262Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26707.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0d8011a878fdf96123bc0d6a12e2fe7ced5fddfb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37e8c97e539015637cb920d3e6f1e404f707a06e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/547545e50c913861219947ce490c68a1776b9b51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56440799fc4621c279df16176f83a995d056023a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/923dea2a7ea9e1ef5ac4031fba461c1cc92e32b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de769423b2f053182a41317c4db5a927e90622a0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26707.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26707"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"121c33b07b3127f501b366bc23d2a590e2f2b8ef"},{"fixed":"0d8011a878fdf96123bc0d6a12e2fe7ced5fddfb"},{"fixed":"de769423b2f053182a41317c4db5a927e90622a0"},{"fixed":"56440799fc4621c279df16176f83a995d056023a"},{"fixed":"923dea2a7ea9e1ef5ac4031fba461c1cc92e32b8"},{"fixed":"547545e50c913861219947ce490c68a1776b9b51"},{"fixed":"37e8c97e539015637cb920d3e6f1e404f707a06e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26707.json"}}],"schema_version":"1.7.5"}