A vulnerability in the Linux kernel SMB client was fixed to prevent an out-of-bounds read in the dfs_parse_target_referral() function. The flaw occurs due to incorrect handling of path length calculations when the mount charset differs from UTF-8, causing a size_t underflow and reading beyond the allocated buffer. This issue can lead to kernel memory corruption detected by KASAN. The fix adds a proper bounds check to prevent the out-of-bounds access, though some path handling inconsistencies remain and require further fixes.
A NULL pointer dereference vulnerability exists in the Linux kernel's SMB client code in the __cifs_put_smb_ses() function. This occurs when a secondary channel slot is cleared without decrementing the channel count, leading to a crash during session release. The issue has been resolved by adding a guard to avoid dereferencing NULL pointers in skipped channel slots.
A vulnerability in the Linux kernel's device mapper (dm) subsystem causes an infinite loop in the dm_blk_do_report_zones() function when the underlying zoned device is removed. This happens because the mapped device retains its old capacity while the underlying device reports zero zones, causing the function's internal counters to never advance and resulting in a hang. This can lead to soft lockups and RCU stalls on non-preemptible kernels.
A vulnerability in the Linux kernel device mapper (dm) log userspace component was fixed by ensuring that device references are properly dropped on error conditions. Specifically, when an error occurs during integrated-flush workqueue allocation, the code previously failed to drop a device reference, causing the device to remain busy and preventing its removal.
A vulnerability in the Linux kernel SMB client involves improper validation of security descriptor headers before allocating query results. This flaw can lead to a kernel read error and a kernel Oops due to reading invalid memory when processing zero-length ACL responses. The issue has been fixed by validating the returned data length and enforcing minimum header sizes.
A vulnerability in the Linux kernel's GPIO virtuser driver involves interrupt leaks and potential use-after-free (UAF) bugs due to improper handling of interrupt requests and freeing during device unbind. The issue arises because the driver does not verify if an interrupt has already been requested, leading to leaks, and fails to free interrupts on device unbind, causing both resource leaks and potential UAF conditions. The fix involves serializing access to the interrupt field with a mutex, sanitizing input, and scheduling proper tear-down actions.
A vulnerability in the Linux kernel SMB client was fixed to prevent data loss during writeback operations on replayable errors. Previously, a single replayable error such as a reconnect during sending could cause the writeback subrequest to fail and data to be lost silently after write(2) succeeded, with only fsync(2) able to detect the issue. The fix ensures that writeback retries continue with exponential backoff according to mount options, reducing the risk of data loss.
A vulnerability in the Linux kernel's comedi driver for ni_660x devices could cause a null pointer dereference during polling operations if a DMA channel is not present. This occurs because the polling function does not properly check for the presence of a DMA channel before dereferencing it, leading to potential kernel instability or crashes.
A vulnerability in the Linux kernel's device mapper snapshot feature (dm-snapshot) was fixed. The issue involved improper handling of discard operations, where discards could be sent unaligned or spanning multiple chunks due to missing granularity settings. This could cause unexpected behavior in discard processing.
A vulnerability in the Linux kernel's device mapper sysfs interface (dm-sysfs) was fixed to address improper handling when the function kobject_init_and_add fails. The fix ensures that kobject_put is called to properly release resources and that the kobject is zeroed before initialization to prevent misbehavior on repeated initialization attempts.
A vulnerability in the Linux kernel's dm-raid component allows a crafted dm-raid superblock with an out-of-bounds array_position value to cause a stack out-of-bounds read during device-mapper table load. This occurs because the array_position is used unchecked as a bit index into a fixed-size bitmap, leading to a read beyond the stack buffer. The flaw can be triggered by an attacker with CAP_SYS_ADMIN privileges in the target namespace via dmsetup create with malicious metadata. The issue has been resolved by properly validating that array_position is within the valid range of raid devices.
A division by zero vulnerability was identified and fixed in the Linux kernel's iio hid-sensors driver. The flaw occurs in the convert_to_vtf_format() function when handling unit exponents of -7 and -8, leading to an invalid division operation. This happens because the exponent value, derived from sensor hub report descriptors, causes an incorrect calculation of the divisor, resulting in a divide error.
A use-after-free vulnerability in the Linux kernel's dm-raid component was fixed in the raid_dtr() function. The flaw occurs because event_work flushing was conditional on work_pending(), which can miss cases where the work is dequeued but still running, allowing raid_set to be freed prematurely. This leads to a use-after-free when the event handler accesses freed memory.
A vulnerability in the Linux kernel's device mapper snapshot feature caused discard operations that are not aligned to chunk boundaries to incorrectly write into the next copy-on-write (COW) chunk. This could lead to data corruption where the tail of a discard operation affects adjacent chunks, causing stale or incorrect data to be returned on later reads. The issue was fixed by enforcing discard alignment to chunk boundaries and properly completing partial discards without passing them to the COW device.
A resource leak vulnerability in the Linux kernel's Samsung serial driver was fixed. The issue involved the improper handling of baud clock references, causing a handle leak each time terminal settings were changed via tcsetattr(). This could lead to resource exhaustion if exploited repeatedly by an attacker with access to the serial port.
A vulnerability in the Linux kernel's serial driver for fsl_lpuart was fixed. The issue involved a reference leak in the tty subsystem during wakeup events, where the tty reference was acquired but never released, causing resource leakage. Additionally, under certain conditions, a NULL pointer dereference could occur when the tty was not open.
A memory leak vulnerability in the Linux kernel's device mapper persistent data component was fixed. The issue occurred when the function find_leaf failed, causing dm_btree_cursor_begin to return an error but not release held dm-bufio buffers, leading to a memory leak and warnings during cache release.
A vulnerability in the Linux kernel's 8250_lpss serial driver can cause a kernel oops (crash) when setting a baud rate above 6.25 Mbaud. This occurs due to a division by zero error in the calculation of the UART clock rate, triggered by certain termios settings. The issue has been resolved by limiting the baud rate to the maximum supported clock frequency.
A vulnerability in the Linux kernel serial core was resolved by ensuring proper handling of runtime power management (PM) when sending x_char characters. The flaw involved improper synchronization between transmission start operations and runtime PM states, which could cause deadlocks or improper device suspension during serial communication, particularly affecting the 8250_omap driver when autosuspend is enabled.
A vulnerability in the Linux kernel's dm-integrity feature allows an attacker with write access but without the key to modify data and have the kernel compute valid HMAC tags, potentially bypassing data integrity checks. The issue arises from recalculation of tags when a dirty bitmap is present and the superblock is not properly authenticated. A patch disables recalculation under certain conditions to prevent unauthorized tag recalculation.