# CVE-2024-26707: net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-04-03T14:55:10.262Z
- Modified: 2026-06-17T07:18:08.807Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()

Syzkaller reported [1] hitting a warning after failing to allocate
resources for skb in hsr_init_skb(). Since a WARN_ONCE() call will
not help much in this case, it might be prudent to switch to
netdev_warn_once(). At the very least it will suppress syzkaller
reports such as [1].

Just in case, use netdev_warn_once() in send_prp_supervision_frame()
for similar reasons.

[1]
HSR: Could not send supervision frame
WARNING: CPU: 1 PID: 85 at net/hsr/hsr_device.c:294 send_hsr_supervision_frame+0x60a/0x810 net/hsr/hsr_device.c:294
RIP: 0010:send_hsr_supervision_frame+0x60a/0x810 net/hsr/hsr_device.c:294
...
Call Trace:
 <IRQ>
 hsr_announce+0x114/0x370 net/hsr/hsr_device.c:382
 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb20 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
...

This issue is also found in older kernels (at least up to 5.10).

(As written by CVE List.)

## Affected

- Linux Linux: from 121c33b07b3127f501b366bc23d2a590e2f2b8ef before 0d8011a878fdf96123bc0d6a12e2fe7ced5fddfb; from 121c33b07b3127f501b366bc23d2a590e2f2b8ef before de769423b2f053182a41317c4db5a927e90622a0; from 121c33b07b3127f501b366bc23d2a590e2f2b8ef before 56440799fc4621c279df16176f83a995d056023a; from 121c33b07b3127f501b366bc23d2a590e2f2b8ef before 923dea2a7ea9e1ef5ac4031fba461c1cc92e32b8; from 121c33b07b3127f501b366bc23d2a590e2f2b8ef before 547545e50c913861219947ce490c68a1776b9b51; from 121c33b07b3127f501b366bc23d2a590e2f2b8ef before 37e8c97e539015637cb920d3e6f1e404f707a06e; 5.9 (not affected: before 5.9; from 5.10.210 up to 5.10.*; from 5.15.149 up to 5.15.*; from 6.1.79 up to 6.1.*; from 6.6.18 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.9 before 5.10.210; from 5.11 before 5.15.149; from 5.16 before 6.1.79; from 6.2 before 6.6.18; from 6.7 before 6.7.6; 6.8
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/0d8011a878fdf96123bc0d6a12e2fe7ced5fddfb> (patch)
- <https://git.kernel.org/stable/c/de769423b2f053182a41317c4db5a927e90622a0> (patch)
- <https://git.kernel.org/stable/c/56440799fc4621c279df16176f83a995d056023a> (patch)
- <https://git.kernel.org/stable/c/923dea2a7ea9e1ef5ac4031fba461c1cc92e32b8> (patch)
- <https://git.kernel.org/stable/c/547545e50c913861219947ce490c68a1776b9b51> (patch)
- <https://git.kernel.org/stable/c/37e8c97e539015637cb920d3e6f1e404f707a06e> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)

## Sources

- CVE List: [CVE-2024-26707](https://www.cve.org/CVERecord?id=CVE-2024-26707), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26707](https://nvd.nist.gov/vuln/detail/CVE-2024-26707), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26707 · Whole record: https://cve.day/CVE-2024-26707.json · Rebuilt by cve.day 2026-11-25T22:58:38.529Z
