Not rated
CVE-2024-49977 In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Fix zero-division error when…
Description
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Fix zero-division error when disabling tc cbs The commit b8c43360f6e4 ("net: stmmac: No need to calculate speed divider when offload is disabled") allows the "port_transmit_rate_kbps" to be set to a value of 0, which is then passed to the "div_s64" function when tc-cbs is disabled. This leads to a zero-division error. When tc-cbs is disabled, the idleslope, sendslope, and credit values the credit values are not required to be configured. Therefore, adding a return statement after setting the txQ mode to DCB when tc-cbs is disabled would prevent a zero-division error.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.12 | earliest → < 6.12 | 6.12 |
| Linux 6.11 | earliest → < 6.11.3 | 6.11.3 |
| Linux | 6.10 | 6.10.14 |
| Linux 6.6 | earliest → < 6.6.55 | 6.6.55 |
| Linux 6.1 | earliest → < 6.1.113 | 6.1.113 |
| Linux 5.15 | earliest → < 5.15.168 | 5.15.168 |
| Linux 5.10 | earliest → < 5.10.227 | 5.10.227 |
| RUGGEDCOM RST2428P 3.2 | earliest → < 3.2 | 3.2 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.2 | earliest → < 3.2 | 3.2 |
Show the 2 other branches Hide the 2 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.2 | earliest → < 3.2 | 3.2 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 | earliest → < 1.1.1 | 1.1.1 |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated