CVE-2024-49858 is a vulnerability in the Linux kernel's efistub/tpm component where the TPM event log memory region is incorrectly marked as EFI_LOADER_DATA instead of EFI_ACPI_RECLAIM_MEMORY. This causes the memory region to be left unreserved in the E820 memory map passed to the kernel during kexec, potentially leading to memory corruption and kernel crashes when parsing the TPM event log. The issue has been fixed by changing the memory type to EFI_ACPI_RECLAIM_MEMORY, which is properly reserved.
A null pointer dereference vulnerability in the Linux kernel's driver core was fixed in the module_add_driver() function. The flaw occurs if kasprintf() fails during the probing of the of-fpga-region module, leading to a null pointer dereference when sysfs_remove_link() is called in the exit path. This can cause a kernel panic and system crash. The issue has been addressed by correcting resource release order in the exit path. Multiple Linux kernel versions prior to 6.8.0 with specific builds are affected.
CVE-2024-47687 is a vulnerability in the Linux kernel's vdpa/mlx5 driver where certain error paths in mlx5_vdpa_dev_add() can cause the release of memory region (mr) resources that were never initialized. This can lead to a kernel NULL pointer dereference and a system crash. The issue is fixed by adding a check to prevent releasing non-initialized mr resources.
CVE-2024-46853 is a high-severity out-of-bounds memory access vulnerability in the Linux kernel's nxp-fspi SPI driver. It occurs when writing data that is not 4-byte aligned to the TX FIFO, causing a KASAN (Kernel Address Sanitizer) slab-out-of-bounds error. The issue is triggered by writing 3 bytes of data to a NOR chip, leading to a read beyond the allocated memory region. This flaw has been fixed by correcting the memcpy length to prevent out-of-bounds access.
A vulnerability in Xen hypervisor allows certain PCI devices assigned Reserved Memory Regions (RMRR) or Unity Mapping ranges to retain access to memory regions they should not access due to flawed error handling in mapping logic. This can lead to guest virtual machines gaining unauthorized access to sensitive memory areas. The issue affects multiple specific Ubuntu-packaged versions of Xen and has a high severity rating with a CVSS score of 7.5.
CVE-2024-46689 is a medium-severity vulnerability in the Linux kernel's Qualcomm cmd-db driver. The issue arises because the shared memory region used by cmd-db is mapped as write-back (WB) cacheable memory, which can cause false write detections by the XPU (eXecute Protection Unit). This false detection triggers a secure interrupt leading to an endless loop in Trust Zone. The problem is currently mitigated by Qualcomm Hypervisor's specific memory mappings, but it poses a risk when other hypervisors like Xen or KVM are used. The fix changes the memory mapping from write-back to write-combining (WC), removing dependency on hypervisor-specific mappings.
CVE-2024-43860 is a medium severity vulnerability in the Linux kernel's imx_rproc remote processor driver. The flaw occurs because the code counts the number of phandles but does not verify that each phandle is non-NULL before dereferencing it. This can lead to a NULL pointer dereference and cause a denial of service (kernel crash). The issue has been fixed by adding a NULL check during phandle parsing.
CVE-2024-43819 is a vulnerability in the Linux kernel's KVM subsystem for the s390 architecture. It involves improper handling of memory region operations for ucontrol virtual machines (VMs), which could lead to a null pointer dereference and cause a denial of service. The vulnerability is addressed by rejecting certain ioctls (KVM_SET_USER_MEMORY_REGION and KVM_SET_USER_MEMORY_REGION2) when used on ucontrol VMs and requiring memory management to be done via specific ioctls instead.
In the Linux kernel, the following vulnerability has been resolved:
cxl/mem: Fix no cxl_nvd during pmem region auto-assembling
When CXL subsystem is auto-assembling a pmem region during cxl
endpoint port probing, always hit below calltrace.
BUG: kernel NULL pointer dereference, address: 0000000000000078
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
RIP: 0010:cxl_pmem_region_probe+0x22e/0x360 [cxl_pmem]
Call Trace:
<TASK>
? __die+0x24/0x70
? page_fault_oops+0x82/0x160
? do_user_addr_fault+0x65/0x6b0
? exc_page_fault+0x7d/0x170
? asm_exc_page_fault+0x26/0x30
? cxl_pmem_region_probe+0x22e/0x360 [cxl_pmem]
? cxl_pmem_region_probe+0x1ac/0x360 [cxl_pmem]
cxl_bus_probe+0x1b/0x60 [cxl_core]
really_probe+0x173/0x410
? __pfx___device_attach_driver+0x10/0x10
__driver_probe_device+0x80/0x170
driver_probe_device+0x1e/0x90
__device_attach_driver+0x90/0x120
bus_for_each_drv+0x84/0xe0
__device_attach+0xbc/0x1f0
bus_probe_device+0x90/0xa0
device_add+0x51c/0x710
devm_cxl_add_pmem_region+0x1b5/0x380 [cxl_core]
cxl_bus_probe+0x1b/0x60 [cxl_core]
The cxl_nvd of the memdev needs to be available during the pmem region
probe. Currently the cxl_nvd is registered after the endpoint port probe.
The endpoint probe, in the case of autoassembly of regions, can cause a
pmem region probe requiring the not yet available cxl_nvd. Adjust the
sequence so this dependency is met.
This requires adding a port parameter to cxl_find_nvdimm_bridge() that
can be used to query the ancestor root port. The endpoint port is not
yet available, but will share a common ancestor with its parent, so
start the query from there instead.
CVE-2024-41084 is a vulnerability in the Linux kernel's cxl/region component where a null pointer dereference can occur during region lookup. This happens because the function cxl_dpa_to_region() incorrectly assumes that an endpoint mapping a DPA is always a fully assembled region, which is not always true. The flaw can cause a kernel oops (crash) due to dereferencing a null pointer. The issue arises during testing or race conditions involving BIOS defined region assembly. The vulnerability has been fixed in Linux kernel versions 6.8.0 and later.
CVE-2024-40989 is a high-severity vulnerability in the Linux kernel's KVM arm64 subsystem. It involves improper handling of vCPU pointers during the teardown of a redistributor region, which could lead to dangling pointers referencing freed memory. This flaw has been resolved by ensuring that vCPUs are properly disassociated from the redistributor region during teardown.
CVE-2024-40983 is a medium severity vulnerability in the Linux kernel's TIPC (Transparent Inter-Process Communication) subsystem. It involves a missing forced reference count on the destination entry before performing decryption, which can lead to a kernel crash. The issue arises because crypto requests may return asynchronously, causing the code to leave the RCU-protected region without properly incrementing the reference count. This flaw was fixed by ensuring skb_dst_force() is called before decryption in the TIPC path.
CVE-2024-40939 is a high-severity use-after-free vulnerability in the Linux kernel's net subsystem, specifically in the wwan iosm driver. The flaw occurs when region creation fails in ipc_devlink_create_region(), leading to a tainted pointer being used during the deletion process. This pointer actually holds an error code value, causing improper memory handling. The issue was identified by the Linux Verification Center and has been fixed by adjusting the region index before deletion.
CVE-2024-40936 is a vulnerability in the Linux kernel's CXL (Compute Express Link) region management code where memory region leaks occur in the devm_cxl_add_region() function. The issue was fixed by moving mode verification to __create_region() before allocating the memory region, preventing leaks. This flaw could lead to resource exhaustion and denial of service. The vulnerability affects multiple Linux kernel versions prior to 6.8.0-1015.16~22.04.1 and related builds. A patch is available and has been released in fixed versions starting with 6.8.0-1015.16~22.04.1 and others. The CVSS score is 5.5 (medium severity) with impact limited to availability (denial of service). No known exploits in the wild have been reported.