A vulnerability in the Linux kernel's imx serial driver caused a reference leak in the tty subsystem during wakeup events. Specifically, the function imx_uart_enable_wakeup() obtains a tty reference but does not release it, leading to resource leakage when the tty is closed.
A vulnerability in the Linux kernel's iio driver for the sx9310 sensor was fixed by changing how chip information is retrieved. The function sx9310_check_whoami() previously used device_get_match_data(), which only checks OF and ACPI tables and returns NULL for clients bound via the i2c_device_id table, causing a kernel oops when accessing the WHOAMI register. The fix uses i2c_get_match_data(), which also checks the I2C table, preventing this NULL dereference.
A vulnerability in the Linux kernel's USB Type-C driver for the nb7vpq904m device was fixed by setting client data during probe to prevent a crash on device removal. The issue was caused by a NULL pointer dereference in the remove function due to missing client data initialization.
A deadlock vulnerability in the Linux kernel's garmin_gps USB serial driver was fixed. The issue involved a synchronous reset operation performed without the required device lock, causing a deadlock during port hang-up on disconnect. The fix changes the reset to use an asynchronous interface and removes redundant synchronous interrupt stopping.
A vulnerability in the Linux kernel USB serial driver for oti6858 was fixed by correcting the teardown order during port close. The issue involved the improper cancellation and resubmission of USB request blocks (URBs) and delayed works, which could cause the port to close with ongoing operations, leading to failures on subsequent opens or potential use-after-free if the device is unplugged.
A flaw in the Linux kernel's AMDGPU driver was fixed to correct error handling in the amdgpu_vm_init_entities() function. The issue involved improper destruction of entities during initialization failures, which could lead to a general protection fault and null pointer dereference when opening the render node on certain hardware (navi48). The fix ensures that the immediate entity is only destroyed if it was successfully created and the delayed entity initialization fails.
A vulnerability in the Linux kernel's USB DWC3 gadget driver involves improper handling of timed out End Transfer commands. When an End Transfer command times out, the driver clears the resource index but fails to mark the transfer as pending, causing subsequent transfer commands to fail with a "No Resource" error. This issue has been addressed by marking timed out End Transfers as pending to prevent issuing conflicting commands until completion.
A NULL pointer dereference vulnerability in the Linux kernel's USB serial driver for upd78f0730 was fixed. The issue occurred because the port tty pointer was cleared on hangup before deasserting modem control signals, leading to a potential NULL dereference in the dtr_rts() callback. The fix involved refactoring code to avoid using the cleared pointer during hangup or disconnect events.
A vulnerability in the Linux kernel's w1 subsystem involves improper ordering of file removal and lock acquisition when removing a master device. This flaw could lead to a situation where new slave devices are attached during the removal process, causing indefinite waits on the master's reference count. The issue arises because files remain accessible and writable while locks are held, potentially leading to deadlocks or resource management problems during device removal.
A vulnerability in the Linux kernel's IIO core related to the kmx61 IMU driver allows duplicate event disable requests to cause a runtime PM usage count underflow warning. This occurs because the driver does not properly filter repeated disable requests, leading to an incorrect decrement of the power management reference count.
A vulnerability in the Linux kernel's AMD GPU driver (amdkfd) was fixed by skipping GPUs without a virtual memory (VM) when checkpointing buffer object (BO) mappings. The flaw caused a general protection fault due to a null pointer dereference when checkpointing processes that acquired a VM only on the discrete GPU but not on the integrated GPU. This issue was resolved by ignoring devices without a VM during the checkpoint operation.
A vulnerability in the Linux kernel's USB DWC3 gadget driver allowed requests to be processed on endpoints that were already disabled in hardware. This occurred because the driver cleared the endpoint enabled flag after releasing a lock and returning requests, creating a race condition where new requests could be queued to a disabled endpoint. The issue has been resolved by clearing the endpoint enabled flag before returning requests and rejecting requests queued to disabled endpoints.
A vulnerability in the Linux kernel's USB dwc3 gadget driver could cause endpoint flags to persist incorrectly after a soft disconnect or error recovery, rendering the endpoint unusable. This issue occurs because flags of a disabled endpoint may remain set if its End Transfer command is pending and never completes. The fix resets the flags of all non-control endpoints when the controller starts.
A use-after-free vulnerability was identified and fixed in the Linux kernel's USB serial driver for io_edgeport devices. The flaw involved missing checks and locking during the close() operation, which could lead to a race condition where an interrupt handler attempts to access resources that are being deallocated. This issue was addressed by adding the necessary open checks and locking to prevent concurrent access during port closure.
A potential NULL pointer dereference vulnerability in the Linux kernel's USB serial io_edgeport driver was fixed. The issue involved marking the port as open before the write FIFO buffer was allocated and initialized, which could lead to a race condition where an interrupt completion attempts to send stale data and dereference a NULL FIFO pointer. The fix ensures the port is only marked open after the FIFO is properly set up.
A use-after-free vulnerability was fixed in the Linux kernel's USB serial io_edgeport driver. The issue occurred because asynchronous command URBs were not stopped on device disconnect, potentially leading to access of freed memory in the completion handler after the port was unbound. The fix involved adding an URB anchor to track and cancel outstanding command URBs on disconnect.
A vulnerability in the Linux kernel's USB xHCI driver was fixed to ensure the correct slot is disabled on device allocation failure. The issue involved improper handling of slot IDs during device allocation errors, which could cause the wrong slot to remain active or be disabled incorrectly.
A vulnerability in the Linux kernel's w1_therm driver caused it to incorrectly handle devices on the 1-wire bus that belong to other families. The bulk read operation assumed all slaves were temperature sensors and accessed family-specific data structures incorrectly, potentially corrupting data or causing malfunctions. This issue has been resolved by restricting the bulk read to only slaves of the appropriate family, allowing coexistence with other 1-wire devices on the same bus.
A vulnerability in the Linux kernel's IIO core for the bmg160 gyro sensor driver allows duplicate disable event requests to cause a runtime PM usage count underflow. This occurs because repeated disable requests improperly drop runtime PM references that were not acquired, leading to a warning and potential instability.
A use-after-free (UAF) race condition was identified and fixed in the Linux kernel's USB gadget MIDI function (f_midi) during IN request handling. The issue occurs because f_midi_disable() frees IN requests without holding the transmit lock, while concurrent transmit operations may access freed memory. Additionally, an error handling flaw in f_midi_do_transmit() could cause a transmit loop to spin indefinitely. The fix involves proper locking during request freeing and correct error propagation to abort transmission promptly.