A vulnerability in the Linux kernel's USB serial driver for io_edgeport could lead to potential FIFO memory corruption. This occurs because the driver lacked a sanity check when a malicious device sends a second open response with a different buffer size than initially expected. The issue has been fixed by adding the missing sanity check to prevent such memory corruption.
A NULL-pointer dereference vulnerability was fixed in the Linux kernel's io_edgeport USB serial driver. The issue occurred when a malicious USB device sent a status message for a port that had not yet been opened, causing a NULL-pointer dereference in the bulk-in completion handler. This was due to waitqueue initialization happening too late, which has been corrected by moving it from the open() function to port_probe().
A concurrency issue in the Linux kernel's w1 subsystem was resolved by ensuring the bus mutex is used for the "rw" file. Previously, the "rw" file did not use the bus mutex, leading to potential deadlocks and unsynchronized access to the bus. This could cause deadlocks during slave device detachment and allow concurrent transactions to interfere with each other.
A use-after-free vulnerability in the Linux kernel's USB gadget mass storage function (f_mass_storage) was fixed by ensuring proper locking when syncing the backing file. The flaw allowed a race condition where the backing file could be closed and freed while being accessed, causing a kernel memory corruption detected by KASAN.
A vulnerability in the Linux kernel's hid-sensor-humidity driver causes input reports from one humidity sensor to be incorrectly associated with another sensor's platform device. This occurs because the driver uses a single static callback structure for all instances, leading to a NULL pointer dereference when a device is removed. The issue also affects the hid-sensor-temperature driver, which shares the same code. The fix involves using per-instance callbacks stored within each sensor's state structure.
A vulnerability in the Linux kernel's w1 netlink subsystem involves improper handling of slave device references during bus unlocking. The issue occurs because the slave reference is dropped before the bus mutex is unlocked, potentially causing deadlocks when the slave is detached concurrently. This flaw has been resolved by changing the code to drop the slave reference only after unlocking the bus mutex, preventing indefinite waits.
A vulnerability in the Linux kernel's USB dwc3 gadget driver causes the endpoint resource to remain unreleased if the End Transfer command times out. This results in subsequent Start Transfer commands to the endpoint failing with a "No Resource" error. The issue is addressed by scheduling an error recovery to reset the controller.
A use-after-free vulnerability was fixed in the Linux kernel's iio accel kxsd9 driver. The flaw occurred when unregistering an IIO device with an active triggered buffer, where the poll function could be freed before the device was unregistered, leading to access of freed memory. The fix ensures the device is unregistered before cleaning up the triggered buffer.
A concurrency issue in the Linux kernel's w1 subsystem for the ds28e04 device driver was resolved by ensuring proper use of the bus mutex. Previously, the driver used the master's mutex in callbacks, leading to potential deadlocks when a slave device disappeared from the bus. This caused tasks to become stuck, including the bus master's thread, and allowed bus transactions to be mixed up due to lack of proper serialization.
A null pointer dereference vulnerability was fixed in the Linux kernel's usb gadget u_serial driver. The issue occurs in the gs_close() function when it attempts to access a NULL pointer after a failed open operation. This happens because gs_open() only assigns the driver_data pointer on a successful open, but if the open fails early, the close function is still called and tries to lock a NULL port, causing a kernel crash.
A divide-by-zero vulnerability was identified and fixed in the Linux kernel's usbtest driver in the simple_io() function. This flaw occurs when a zero-length USB transfer with varying length is requested, causing a division by zero and a kernel oops (crash). The issue was addressed by adding a check to return an error early when such a condition is detected, preventing the divide-by-zero error. Zero-length transfers without varying length remain valid and unaffected.
A vulnerability in the Linux kernel's USB Type-C UCSI driver can cause a crash due to a NULL pointer dereference. The issue arises because the connector pointer is not set before enabling notifications, allowing a connector change notification to trigger a crash if it occurs too early. This has been fixed by setting the connector pointer before enabling notifications and clearing it on error paths.
A vulnerability in the Linux kernel's USB serial driver for Garmin GPS devices allows improper validation of packet data length in the nat_receive() function. This flaw can lead to slab-out-of-bounds reads due to underflow in length calculation when a crafted packet with a negative length field is processed. The issue has been fixed by validating the unsigned 32-bit data length early and rejecting invalid packets.
A synchronization issue in the Linux kernel's w1 ds2805 driver was fixed by ensuring the bus mutex is used properly during bus communication. Previously, the driver used the master's mutex in EEPROM file callbacks, causing potential deadlocks and allowing concurrent transactions to mix on the bus.
A vulnerability in the Linux kernel's USB serial driver for Sierra devices allows an out-of-bounds read due to insufficient validation of USB request block (URB) length in the instat callback function. This flaw occurs because the sierra_instat_callback() function reads beyond the usb_ctrlrequest header without verifying that the actual length of the URB is sufficient. The issue has been fixed by adding length checks to prevent reading past the buffer.
A divide-by-zero vulnerability was identified and fixed in the Linux kernel's TSL2591 light sensor driver. The flaw occurs when the raw light channel CH0 is zero or when the counts per lux (CPL) value is zero under certain gain and integration time settings, causing kernel oops on x86_64 systems and incorrect readings on arm64. The fix involves adjusting the algorithm to avoid division by zero and handle cases where CH0 is less than or equal to CH1 by reporting zero illumination.
A use-after-free vulnerability in the Linux kernel's usb gadget u_serial driver has been fixed. The issue occurs when the gs_port structure is freed while still accessible through an installed TTY, due to improper reference counting and lifecycle management. This could lead to memory corruption or instability during TTY teardown and device unregistration.
A vulnerability in the Linux kernel's iio proximity sensor driver (sx9500) causes improper handling of event configuration writes that do not change the event state. This can lead to user counts becoming inconsistent, resulting in channels and interrupts remaining off while events appear enabled, potentially causing raw reads to wait indefinitely for conversions.
A vulnerability in the Linux kernel SCTP implementation causes a kernel panic (skb_over_panic) when adding IP addresses with a pending delete of a different address family. This occurs due to incorrect handling of address length during serialization, leading to buffer overflows and kernel crashes. The issue requires the addip feature to be enabled on the endpoint.
A vulnerability in the Linux kernel's hid-sensor-temperature driver causes a NULL pointer dereference when handling multiple temperature sensors. The driver uses a single static callback structure shared across all instances, leading to incorrect device references and kernel crashes when one sensor is removed while another is still active.