net: remove two BUG() from skb_checksum_help()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: remove two BUG() from skb_checksum_help()
I have a syzbot report that managed to get a crash in skb_checksum_help()
If syzbot can trigger these BUG(), it makes sense to replace them with more friendly WARN_ON_ONCE() since skb_checksum_help() can instead return an error code.
Note that syzbot will still crash there, until real bug is fixed.
From the CVE record · Linux
The Linux kernel's skb_checksum_help() contains two BUG() calls that syzbot was able to trigger, causing a crash. The input does not specify whether triggering this requires network or local access, authentication, or user interaction. Replacing the BUG() calls with WARN_ON_ONCE() allows the function to return an error, but the report notes that syzbot will still crash there until the underlying bug is fixed.
Engineers running the Linux kernel should check their systems; affected versions are not specified.