Nixpkgs security tracker

Login with GitHub

Dismissed suggestions

These automatic suggestions were dismissed after initial triaging.

to select a suggestion for revision.

View:
Compact
Detailed
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
iio: gyro: bmg160: bail out when bandwidth/filter is not in table

In the Linux kernel, the following vulnerability has been resolved: iio: gyro: bmg160: bail out when bandwidth/filter is not in table bmg160_get_filter() walks bmg160_samp_freq_table[] looking for the entry matching the bw_bits value read from the chip: for (i = 0; i < ARRAY_SIZE(bmg160_samp_freq_table); ++i) { if (bmg160_samp_freq_table[i].bw_bits == bw_bits) break; } *val = bmg160_samp_freq_table[i].filter; If no entry matches, i ends up equal to the array size and the next line reads one slot past the end. bmg160_set_filter() has the same shape, driven by 'val' instead of bw_bits. smatch flags both: drivers/iio/gyro/bmg160_core.c:204 bmg160_get_filter() error: buffer overflow 'bmg160_samp_freq_table' 7 <= 7 drivers/iio/gyro/bmg160_core.c:222 bmg160_set_filter() error: buffer overflow 'bmg160_samp_freq_table' 7 <= 7 Return -EINVAL when no entry matches. The set_filter() path is reachable from userspace via the sysfs in_anglvel_filter_low_pass_3db_frequency interface, so userspace can trivially trigger the out-of-bounds read with a value that is not in bmg160_samp_freq_table[].filter.

Affected products

Linux
  • <77e56ebb1786f4296afd5fa46975a989b285ae65
  • <7bbf02b63961fc1768c9c654392c11f2077d4c59
  • <029481cddb98697716f4bf3021d035eaf2ca0e1f
  • ==3.18
  • =<6.18.*
  • <8d202515baea4e2e3be448d1590099af28f2346d
  • <3.18
  • =<6.12.*
  • =<7.1.*
  • <8320c77e67382d5d55d77043a5f60a867d408a2b
  • <1dc3a833be11e5d503038e3c701745fd0e03903c
  • =<6.1.*
  • <d85ee50f58dd83fe74f6d0bf8bd345c657b216e8
  • =<6.6.*
  • =<*
  • <6c8675468862161d1c59130266852b66867d3861
  • =<5.15.*
  • =<5.10.*
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert

In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert wacom_wac_queue_insert() calls kfifo_skip() in a loop when the kfifo doesn't have enough space for the incoming report. If the kfifo is empty, kfifo_skip() reads stale data left in the kmalloc'd buffer via __kfifo_peek_n() and interprets it as a record length, advancing fifo->out by that garbage value. This corrupts the internal kfifo state, causing kfifo_unused() to return a value much larger than the actual buffer size, which bypasses __kfifo_in_r()'s guard: if (len + recsize > kfifo_unused(fifo)) return 0; kfifo_copy_in() then performs an out-of-bounds memcpy, writing up to 3842 bytes past the 256-byte buffer. Add a !kfifo_is_empty() condition to the while loop so kfifo_skip() is never called on an empty fifo, and check the return value of kfifo_in() to reject reports that are too large for the fifo.

Affected products

Linux
  • <6.15
  • =<6.18.*
  • <6b3014ec0e9a390ca563030b2d7689921f0daef5
  • ==6.15
  • =<7.1.*
  • =<*
  • <57bdd10ad50d68341f500a7b330f0d8949e510ec
  • <ca899a926c11a59211b764b0155d9a1cdcc32b81
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
xfs: fix memory leak in xfs_dqinode_metadir_create()

In the Linux kernel, the following vulnerability has been resolved: xfs: fix memory leak in xfs_dqinode_metadir_create() If xfs_metadir_create() fails in xfs_dqinode_metadir_create(), the current code returns directly, leaking the allocated update and transaction state. If the subsequent commit fails, the caller-owned inode reference is left behind. Fix this memory leak by routing the create failure path through xfs_metadir_cancel(). For both create and commit failures, finish and release any inode returned to the caller, mirroring the unwind pattern in xfs_metadir_mkdir(). The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1.1. An x86_64 allyesconfig build showed no new warnings. Runtime validation used kprobe fault injection during `mount -o uquota` on a metadir XFS image. Injecting xfs_metadir_create() reproduced the old active-update path that left mount stuck later in mount setup; after this change, the same injection reported cancel_hits=1 and irele_hits=1. Injecting xfs_metadir_commit() exercised the old inode-reference leak path; after this change, it reported irele_hits=1.

Affected products

Linux
  • =<6.18.*
  • <06a2e6dbaa26c0740ac76dfa66b0aedc78d05820
  • <6.13
  • =<7.1.*
  • <c3d3d2212c2966973dd7d603c6c6e6ed6fc7fbe1
  • =<*
  • ==6.13
  • <45de375b25060edf46e20abb36521ba530336ceb
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
iio: pressure: mpl115: fix runtime PM leak on read error

In the Linux kernel, the following vulnerability has been resolved: iio: pressure: mpl115: fix runtime PM leak on read error mpl115_read_raw() takes a runtime PM reference with pm_runtime_get_sync() before reading the processed pressure or raw temperature, but on the read error path it returns without calling pm_runtime_put_autosuspend(). Each failed read therefore leaks a runtime PM reference and prevents the device from autosuspending. Drop the reference before checking the return value so both the success and error paths are balanced.

Affected products

Linux
  • ==6.2
  • =<6.18.*
  • <6.2
  • =<6.12.*
  • <b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ec
  • =<7.1.*
  • <46e69d3dd429b33e50e2731913239f6af4ea2705
  • =<*
  • =<6.6.*
  • <5022f4ed5aae974ec530e3cbf0bd223be13055f7
  • <aab0fed636b14a5fd52fcae58b484f1cb96b841d
  • <fbe67ff37a6fd855a6c097f84f3738bd13d0a898
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
drm/amdgpu/vce1: Fix VCE 1 firmware size and offsets

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vce1: Fix VCE 1 firmware size and offsets The VCPU BO contains the actual FW at an offset, but it was not calculated into the VCPU BO size. Subtract this from the FW size to make sure there is no out of bounds access. Make sure the stack and data offsets are aligned to the 32K TLB size. Check that the FW microcode actually fits in the space that is reserved for it. (cherry picked from commit c16fe59f622a080fc457a57b3e8f14c780699449)

Affected products

Linux
  • <ce0de178ef08408f6ba8f2e9a13bf52fbe5852f4
  • =<7.0.*
  • ==6.19
  • <3e5a1d5bb2ff061e64c7992f8e5404dfd4c2d0f3
  • =<*
  • <6.19
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
drm/xe/gsc: Fix double-free of managed BO in error path

In the Linux kernel, the following vulnerability has been resolved: drm/xe/gsc: Fix double-free of managed BO in error path The error path in xe_gsc_init_post_hwconfig() explicitly frees a BO allocated with xe_managed_bo_create_pin_map() via xe_bo_unpin_map_no_vm(). Since the managed BO already has a devm cleanup action registered, this causes a double-free when devm unwinds during probe failure. Remove the explicit free and let devm handle it, consistent with all other xe_managed_bo_create_pin_map() callers. (cherry picked from commit 71d61e3e299a17139e47f980a4d6f425b2c59bf7)

Affected products

Linux
  • <7cb975fcd4777e7bad688f66aa0c10c16dd8276b
  • ==6.12
  • =<6.18.*
  • <6.12
  • =<7.0.*
  • <2c890e71ae26fa32f5a96c3694b71a2c310940e7
  • =<6.12.*
  • <889f70de2b51a877339e1979aab95111b41bed75
  • =<*
  • <d3ded53fab90996e7d94a39049e11962dd066725
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
proc: protect ptrace_may_access() with exec_update_lock (FD links)

In the Linux kernel, the following vulnerability has been resolved: proc: protect ptrace_may_access() with exec_update_lock (FD links) proc_pid_get_link() and proc_pid_readlink() currently look up the task from the pid once, then do the ptrace access check on that task, then look up the task from the pid a second time to do the actual access. That's racy in several ways. To fix it, pass the task to the ->proc_get_link() handler, and instead of proc_fd_access_allowed(), introduce a new helper call_proc_get_link() that looks up and locks the task, does the access check, and calls ->proc_get_link().

Affected products

Linux
  • <6253dfee5afba536bb54fc6fe6c091c3758fafe1
  • <2.6.18
  • =<6.18.*
  • <65bf0d2b6e914f1448d6a2fde193dcf60936a651
  • <138c692d2b2d63d26f2eb957d0e4fcc5d61f9ff2
  • <6255da28d4bb5349fe18e84cb043ccd394eba75d
  • <83b17872e3166c295c599279fc9562ac3840c638
  • =<6.12.*
  • =<7.1.*
  • <497c6bae5167428596575f20af6613ff5671f383
  • =<6.1.*
  • =<*
  • =<6.6.*
  • <de497d7aa2fae453a7e7c8f7d3e8682e565e3aaf
  • ==2.6.18
  • =<5.15.*
  • <dfd1894cb64cbd8758b461ed713800fe73db4f82
  • =<5.10.*
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
rust: block: fix GenDisk cleanup paths

In the Linux kernel, the following vulnerability has been resolved: rust: block: fix GenDisk cleanup paths GenDiskBuilder::build() still has fallible work after __blk_mq_alloc_disk(), but its error path only recovers the foreign queue data. That leaks the temporary gendisk and request_queue until later teardown. If the caller moved the last Arc<TagSet<T>> into build(), the leaked queue can retain blk-mq state after the tag set is dropped. Fix the pre-registration failure path by dropping the temporary gendisk reference with put_disk() before recovering queue_data, so disk_release() can tear down the owned queue. Also pair GenDisk::drop() with put_disk() after del_gendisk(). Once a Rust GenDisk has been added with device_add_disk(), del_gendisk() only unregisters it; the final gendisk reference still has to be dropped to complete the release path.

Affected products

Linux
  • =<6.18.*
  • =<6.12.*
  • <d1dcaa5229a63a6b6df7e0f673fe576cf3d6e8cb
  • =<7.1.*
  • <2957771379fa335103a4b539db57bb2271e12142
  • <e7636f26f77070a529c26d65afd217514ce85ce4
  • <6.11
  • =<*
  • <6822a2685b4da9a87efd1fce4b042678a31ff734
  • ==6.11
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
proc: protect ptrace_may_access() with exec_update_lock (part 1)

In the Linux kernel, the following vulnerability has been resolved: proc: protect ptrace_may_access() with exec_update_lock (part 1) Fix the easy cases where procfs currently calls ptrace_may_access() without exec_update_lock protection, where the fix is to simply add the extra lock or use mm_access(): - do_task_stat(): grab exec_update_lock - proc_pid_wchan(): grab exec_update_lock - proc_map_files_lookup(): use mm_access() instead of get_task_mm() - proc_map_files_readdir(): use mm_access() instead of get_task_mm() - proc_ns_get_link(): grab exec_update_lock - proc_ns_readlink(): grab exec_update_lock

Affected products

Linux
  • <2.6.30
  • <6650527444dadc63d84aa939d14ecba4fadb2f69
  • <2.6.30
  • =<7.1.*
  • =<6.1.*
  • =<5.15.*
  • <ae1e630bcaac739f625822078edbaea98366930d
  • =<5.10.*
  • <c1cfd63326f5d09999134e9052c353faf738286e
  • ==334ed22054b2ec8477e4409e214fc139cf937ef6
  • <2.6.28
  • <bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9
  • <d54f14655fd7d7b293698a8b6918563c4c0465e7
  • <7456ae990a9738962b33146916fabca62ae3d4e0
  • ==2.6.30
  • =<6.6.*
  • ==6b06d6282100dd5aacf7d45443d651a1995bd9c4
  • <4bfe8c481846cee52473a2f7d7b30ee8e6749fc4
  • =<6.18.*
  • <f9b4b03ccc9c69bf7f7298d4559906ebea7143b3
  • =<6.12.*
  • =<*
Dismissed
(max. allowed matches exceeded)
created 2 days, 2 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
bpf: Reject fragmented frames in devmap

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject fragmented frames in devmap Devmap broadcast redirects clone the packet for all but the last destination. For native XDP, that clone path copies only the linear xdp_frame data, while fragmented frames keep skb_shared_info in tailroom outside the linear area. Cloning such a frame leaves XDP_FLAGS_HAS_FRAGS set but without valid frag metadata, and the later free path can interpret uninitialized tail data as skb_shared_info, leading to an out-of-bounds access during frame return. Reject fragmented native XDP frames in dev_map_enqueue_clone(). Add the same restriction to the generic XDP clone path in dev_map_redirect_clone(). Generic XDP represents fragmented packets as nonlinear skbs, and rejecting them here keeps clone-based broadcast support aligned between native and generic XDP.

Affected products

Linux
  • <5.14
  • <a9bb2d9c798cb62a4050a991c27b752770c33afe
  • =<6.18.*
  • <c5b4f5efcb55c1af3fe44ff712d31b7fb098a831
  • <47baddc856ae7e93a565dd9deeb797999b179466
  • =<6.12.*
  • <aa496720618f1a6054f1c870bf10b4f6c99bf656
  • =<7.1.*
  • <51d07c12ca411e692c424ecdabf077f1e61a61be
  • ==5.14
  • =<6.1.*
  • =<6.6.*
  • =<*
  • =<5.15.*
  • <bccbab36ff228e0825eb85d9b0f9b8434cd0a399
  • <07a4c11ee8ef4abcb39d922e9e410ae269671cdf