A memory leak vulnerability in the Linux kernel's overlay filesystem (ovl) was fixed. The issue occurs when ovl_get_inode() fails, causing the lowerdata redirect string to leak because it is not properly freed. The fix involves clearing the redirect only after ovl_get_inode() succeeds, ensuring proper cleanup on failure.
A vulnerability in the Linux kernel's SMB client was fixed to prevent an out-of-bounds (OOB) write when compounding SMB2_IOCTL requests with encryption enabled. The flaw involved a buffer overflow in a 448-byte buffer during certain compound IOCTL operations on encrypted mounts, which could corrupt kernel memory and leak input data. An unprivileged user could trigger this by creating a symlink with a long target on an encrypted SMB mount. The fix pads the input to ensure proper alignment and prevents the unsafe copy operation.
A use-after-free vulnerability in the Linux kernel SMB client was resolved by ensuring a reference is held on the server channel while reconnect work is queued. Without this fix, the channel could be freed prematurely during reconnect operations, leading to potential instability or crashes.
A Linux kernel vulnerability in the SMB client was fixed to prevent tasks from blocking indefinitely in an uninterruptible state when waiting for writeback during fsync operations. Previously, tasks killed during fsync on hard mounts with unresponsive servers would remain stuck until the server responded. The fix changes the wait to be killable, allowing dying tasks to stop waiting while writeback continues in the background.
A use-after-free vulnerability exists in the Linux kernel's device mapper (dm) subsystem in the dm_get_device() function. This occurs when dm_get_device() is called multiple times on the same device with increasingly permissive open modes, causing stale pointers to be used. The issue has been fixed by introducing per-mode references and improving mode sharing checks to prevent stale pointer usage.
A vulnerability in the Linux kernel overlay filesystem (ovl) involves improper handling of NFS export with data-only layers. The issue arises because data-only layers no longer require metacopy=on, which conflicts with nfs_export=on, allowing an overlay with data-only layers to be mounted with nfs_export=on. This can cause file data to be read incorrectly from a metacopy file in the lower layer. The vulnerability has been resolved by failing mounts that explicitly use nfs_export=on with data-only layers and disabling nfs_export in such cases.
A use-after-free vulnerability in the Linux kernel's device mapper (dm) subsystem was fixed by correcting reference counting in zone reset operations. The flaw involved double-dropping a submission reference on error paths, potentially releasing resources prematurely. The fix ensures the submission reference is only dropped once, preventing use-after-free conditions during zone reset clones.
A vulnerability in the Linux kernel's SMB client was resolved by ensuring the inode reference is held across the cifs_oplock_break() handler. Previously, the handler could operate on an inode that was freed due to reference count drops, leading to use-after-free conditions.
A vulnerability in the Linux kernel's device mapper cache (dm-cache) component could lead to a null pointer dereference during the destruction of a kcopyd client if its setup failed. This occurs because the code does not properly check the copier pointer before attempting to destroy the client, potentially causing a kernel bug and crash.
A vulnerability in the Linux kernel's SMB client handling causes data loss during writeback operations if the task performing the write is dying due to a fatal signal. This occurs because writeback subrequests from dying tasks are refused, leading to silent data loss where the server file size is inconsistent with the actual data stored. The issue is addressed by offloading these writeback subrequests to a dedicated workqueue that operates without signal interruptions.
A vulnerability in the Linux kernel SMB client was fixed involving improper comparison of owner and group SIDs. The comparison previously used a fixed size that could read beyond the security descriptor boundary, potentially causing out-of-bounds memory access. The fix ensures that the comparison only covers the actual encoded length of the SIDs after verifying equal subauthority counts.
A vulnerability in the Linux kernel's SMB client handling causes unmount operations with the force flag (umount -f) to hang indefinitely on hard mounts. This occurs because retried read and write requests continue despite the server being gone, preventing the unmount from completing. The issue has been resolved by modifying the kernel to abort retried I/O requests that predate a forced unmount, allowing the unmount to complete properly.
A vulnerability in the Linux kernel SMB client causes certain write operations to fail and lose data when a reconnect occurs. The issue arises because writes that cannot be issued due to an invalidated handle or session credits from before a reconnect are not properly retried, leading to data loss.
A vulnerability in the Linux kernel's SMB client implementation involves improper handling of the NTLMSSP signature field. The NTLMSSP signature, an eight-byte binary value, was incorrectly printed as a NUL-terminated string, causing out-of-bounds memory reads. This issue was detected by KASAN as a slab-out-of-bounds read. The vulnerability has been fixed by changing the printing method to a bounded hexadecimal format, preventing memory overread and returning an error code without triggering KASAN reports.
A vulnerability in the Linux kernel overlay filesystem (ovl) has been addressed that involves handling of different lower idmaps on the same filesystem. Overlayfs mounted with index=on or nfs_export=on require file handle support from backing filesystems. The issue arises because overlay file handles identify a backing filesystem but not the specific lower mount used to decode it, allowing a handle to decode through the wrong layer if lower layers share a superblock but use different idmaps. The fix involves recording the first idmap on a private lower clone for each backing filesystem and failing if another clone has a different idmap, preventing ambiguity.
A use-after-free vulnerability exists in the Linux kernel overlay filesystem (ovl) due to improper handling of dentry flags during lookup when using a FUSE upper filesystem whose entry has timed out. This flaw occurs because ovl_lookup_layers() passes a put upper dentry to ovl_dentry_init_reval(), which reads flags from a dentry that may have been freed, leading to potential memory corruption.
A race condition vulnerability in the Linux kernel's GPIO shared descriptor release path was fixed. The issue involves concurrent calls to gpiod_shared_put() and devm_gpiod_shared_get() that can lead to use-after-free and double-free conditions due to improper locking and reference counting. The fix involves using kref_put_mutex() to ensure proper locking during release.
A vulnerability in the Linux kernel SMB client caused failed write operations to be retried indefinitely regardless of mount options. This could lead to excessive retries of failed writes, causing hangs in processes waiting on writeback. The issue has been resolved by ensuring retries only occur when allowed by the replay logic and respecting mount options such as soft and retrans.
A vulnerability in the Linux kernel overlay filesystem (ovl) causes open() to fail with ENOENT when the lowerdata is missing for a metacopy file, even though the file exists and stat() works. This inconsistency can lead to integrity issues, especially with composefs, where missing data files are not properly reported, potentially causing configuration files to appear nonexistent. The fix changes the error returned to EIO when no lower data is found, aligning with existing behavior in ovl_lookup().
A synchronization vulnerability in the Linux kernel's gpiolib subsystem was resolved by adding a spinlock to serialize updates of descriptor labels. The flaw involved unsynchronized concurrent updates to descriptor labels, which could corrupt the state of the SRCU chain.