CVE-2025-38719

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38719
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38719.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38719
Downstream
Published
2025-09-04T15:33:13.213Z
Modified
2025-12-02T17:54:47.537347Z
Summary
net: hibmcge: fix the division by zero issue
Details

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

net: hibmcge: fix the division by zero issue

When the network port is down, the queue is released, and ring->len is 0. In debugfs, hbggetqueueusednum() will be called, which may lead to a division by zero issue.

This patch adds a check, if ring->len is 0, hbggetqueueusednum() directly returns 0.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38719.json"
}
References

Affected packages

Git / 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
40735e7543f94fc88f58d94fd5f88daa4a2f2c6e
Fixed
c945e1ad4f3b77166a3215dabc0c6c980d4a9c73
Fixed
475e06113c615dafd44262d6d6bd37786f7f4206
Fixed
7004b26f0b64331143eb0b312e77a357a11427ce

Affected versions

v6.*

v6.12
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.15.1
v6.15.10
v6.15.2
v6.15.3
v6.15.4
v6.15.5
v6.15.6
v6.15.7
v6.15.8
v6.15.9
v6.16
v6.16-rc1
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.16.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.11
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.2