CVE-2024-40963 mips: bmips: BCM6358: make sure CBR is correctly set
A null pointer dereference in the Linux kernel MIPS BCM6358 driver causes a kernel panic when the CBR address is zero, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-40963?
CVE-2024-40963 is a medium-severity vulnerability in Linux kernel, published on 12 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
mips: bmips: BCM6358: make sure CBR is correctly set
It was discovered that some device have CBR address set to 0 causing kernel panic when arch_sync_dma_for_cpu_all is called.
This was notice in situation where the system is booted from TP1 and BMIPS_GET_CBR() returns 0 instead of a valid address and !!(read_c0_brcm_cmt_local() & (1 << 31)); not failing.
The current check whether RAC flush should be disabled or not are not enough hence lets check if CBR is a valid address or not.
Weakness: CWE-754
Which versions are affected by CVE-2024-40963?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-40963?
Apply the vendor's patch.
Is CVE-2024-40963 being exploited?
There is no known exploitation of CVE-2024-40963 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-40963, DEBIAN-CVE-2024-40963, GHSA-cwj5-fc98-66qg, UBUNTU-CVE-2024-40963.