5.5medium
net: hns3: fix kernel crash when devlink reload during initialization
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix kernel crash when devlink reload during initialization The devlink reload process will access the hardware resources, but the register operation is done before the hardware is initialized. So, processing the devlink reload during initialization may lead to kernel crash. This patch fixes this by registering the devlink after hardware initialization.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cd6242991d2e3990c828a7c2215d2d3321f1da39 before 72ede790f5a03c3957487400a1b72ebce293a2e7, from cd6242991d2e3990c828a7c2215d2d3321f1da39 before 5c623fe0534806b627054da09b6f51b7b2f7b9cd, from cd6242991d2e3990c828a7c2215d2d3321f1da39 before c98bc78ce0909ccc92005e2cb6609ec6c7942f69, from cd6242991d2e3990c828a7c2215d2d3321f1da39 before 35d92abfbad88cf947c010baf34b075e40566095, 5.15 Not affected: before 5.15, from 6.1.91 up to 6.1.*, from 6.6.31 up to 6.6.*, from 6.8.10 up to 6.8.*, from 6.9 up to * | CVE List |
| linux linux_kernel | from 5.15 before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix kernel crash when devlink reload during initialization The devlink reload process will access the hardware resources, but the register operation is done before the hardware is initialized. So, processing the devlink reload during initialization may lead to kernel crash. This patch fixes this by registering the devlink after hardware initialization.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: hns3: soluciona el fallo del kernel cuando devlink se recarga durante la inicialización El proceso de recarga de devlink accederá a los recursos de hardware, pero la operación de registro se realiza antes de que se inicialice el hardware. Por lo tanto, procesar la recarga de devlink durante la inicialización puede provocar una falla del kernel. Este parche soluciona este problema registrando el devlink después de la inicialización del hardware.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-36900 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-36900 changed 2026-06-17 | Public domain |