Name | CVE-2024-49977 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4008-1, DLA-4075-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | bullseye | 5.10.223-1 | vulnerable |
bullseye (security) | 5.10.234-1 | fixed | |
bookworm | 6.1.123-1 | fixed | |
bookworm (security) | 6.1.128-1 | fixed | |
trixie | 6.12.12-1 | fixed | |
sid | 6.12.17-1 | fixed | |
linux-6.1 (PTS) | bullseye (security) | 6.1.128-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | bullseye | 5.10.234-1 | DLA-4075-1 | ||
linux | source | bookworm | 6.1.115-1 | |||
linux | source | (unstable) | 6.11.4-1 | |||
linux-6.1 | source | bullseye | 6.1.119-1~deb11u1 | DLA-4008-1 |
https://git.kernel.org/linus/675faf5a14c14a2be0b870db30a70764df81e2df (6.12-rc1)