5.5medium
arm_mpam: Fix null pointer dereference when restoring bandwidth counters
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: arm_mpam: Fix null pointer dereference when restoring bandwidth counters When an MSC supporting memory bandwidth monitoring is brought offline and then online, mpam_restore_mbwu_state() calls __ris_msmon_read() via ipi to restore the configuration of the bandwidth counters. It doesn't care about the value read, mbwu_arg.val, and doesn't set it leading to a null pointer dereference when __ris_msmon_read() adds to it. This results in a kernel oops with a call trace such as: Call trace: __ris_msmon_read+0x19c/0x64c (P) mpam_restore_mbwu_state+0xa0/0xe8 smp_call_on_cpu_callback+0x1c/0x38 process_one_work+0x154/0x4b4 worker_thread+0x188/0x310 kthread+0x11c/0x130 ret_from_fork+0x10/0x20 Provide a local variable for val to avoid __ris_msmon_read() dereferencing a null pointer when adding to val.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 41e8a14950e1732af51cfec8fa09f8ded02a5ca9 before ac3e12bc195786d3d44d730b5b2259fd36191848, from 41e8a14950e1732af51cfec8fa09f8ded02a5ca9 before 4ad79c874e53ebb7fe3b8ae7ac6c858a2121f415, 6.19 Not affected: before 6.19, from 6.19.10 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19.1 before 6.19.10, 6.19, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: arm_mpam: Fix null pointer dereference when restoring bandwidth counters When an MSC supporting memory bandwidth monitoring is brought offline and then online, mpam_restore_mbwu_state() calls __ris_msmon_read() via ipi to restore the configuration of the bandwidth counters. It doesn't care about the value read, mbwu_arg.val, and doesn't set it leading to a null pointer dereference when __ris_msmon_read() adds to it. This results in a kernel oops with a call trace such as: Call trace: __ris_msmon_read+0x19c/0x64c (P) mpam_restore_mbwu_state+0xa0/0xe8 smp_call_on_cpu_callback+0x1c/0x38 process_one_work+0x154/0x4b4 worker_thread+0x188/0x310 kthread+0x11c/0x130 ret_from_fork+0x10/0x20 Provide a local variable for val to avoid __ris_msmon_read() dereferencing a null pointer when adding to val.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: arm_mpam: Corrección de desreferencia de puntero nulo al restaurar contadores de ancho de banda Cuando un MSC que soporta la monitorización de ancho de banda de memoria se desconecta y luego se conecta, mpam_restore_mbwu_state() llama a __ris_msmon_read() a través de ipi para restaurar la configuración de los contadores de ancho de banda. No le importa el valor leído, mbwu_arg.val, y no lo establece, lo que lleva a una desreferencia de puntero nulo cuando __ris_msmon_read() le añade. Esto resulta en un kernel oops con un rastro de llamada como: Rastro de llamada: __ris_msmon_read+0x19c/0x64c (P) mpam_restore_mbwu_state+0xa0/0xe8 smp_call_on_cpu_callback+0x1c/0x38 process_one_work+0x154/0x4b4 worker_thread+0x188/0x310 kthread+0x11c/0x130 ret_from_fork+0x10/0x20 Proporcionar una variable local para val para evitar que __ris_msmon_read() desreferencie un puntero nulo al añadir a val.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23433 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-23433 changed 2026-07-24 | Public domain |