Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

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 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
crypto: cavium/cpt - fix DMA cleanup using wrong loop index

In the Linux kernel, the following vulnerability has been resolved: crypto: cavium/cpt - fix DMA cleanup using wrong loop index The sg_cleanup error path used list[i] instead of list[j] when unmapping DMA buffers, leaking successfully mapped entries and repeatedly unmapping the failed one.

Affected products

Linux
  • <8afd1007ef79898a6e010eaade97097e49405fce
  • =<5.10.*
  • <9dbf173bd32d5f81b005008b682bfb50aa093455
  • =<6.6.*
  • <4.11
  • =<*
  • =<6.1.*
  • ==4.11
  • =<6.12.*
  • <23d3a7e896a1fe2d7a6bcb42f093948b79f8a198
  • =<6.18.*
  • <3b8a1e1f4e4071a62b20374028744e8cc8310d48
  • =<7.1.*
  • =<5.15.*
  • <d319b83b97b3585550d9ae592dfa78c755b6129e
  • <fb4d57b83356d4bd411b45ede3024e0ff42c9b5e
  • <23c6174e48f66fc10b998b0acdb406cb0caf5c80
  • <28141f95ae93b18f9bfde953cb787fcb151fb9da
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
Input: ims-pcu - fix out-of-bounds read in ims_pcu_irq() debug logging

In the Linux kernel, the following vulnerability has been resolved: Input: ims-pcu - fix out-of-bounds read in ims_pcu_irq() debug logging The debug logging in ims_pcu_irq() unconditionally prints data from pcu->urb_in_buf. However, if the interrupt fired for pcu->urb_ctrl, the actual data resides in pcu->urb_ctrl_buf. If urb->actual_length for the control URB exceeds pcu->max_in_size, this leads to an out-of-bounds read. Fix this by printing from the correct buffer associated with the URB.

Affected products

Linux
  • <3.10
  • =<5.10.*
  • <4d2553e9a76a11500ec670cbe16b7fd3da4832de
  • <403b0a6970b1084bb27907c0f8225801fdd0fe1d
  • <b746e853721dee91e4234c033d1b90f4605705bb
  • =<*
  • =<6.6.*
  • <e6153407d7edabc6ff98f0fda415d556c0bcb57a
  • <f97bfc1a0766802a99167b3dc62d1ee7dca929fe
  • ==3.10
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • <20fbf3ca0259d00664d1ede88837e1f11b49a88e
  • =<5.15.*
  • <9c964fc9507aeab74376ba9f892cf84ad6950dfe
  • <3fd7c0ace245334f2a0bd29fdcb680ad56e9b275
  • =<6.1.*
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
pmdomain: mediatek: Fix possible nullptr KP in HWV cleanup/on-check

In the Linux kernel, the following vulnerability has been resolved: pmdomain: mediatek: Fix possible nullptr KP in HWV cleanup/on-check Should probe fail for HW_VOTER type power domains, this driver was unconditionally trying to perform cleanup for DIRECT_CTL domains, but only after checking if the target domain is powered on... with the DIRECT_CTL scpsys_domain_is_on() code again. And there's more: the scpsys_domain_is_on() function is also being unconditionally used in the probe path, for any power domain that has flag MTK_SCPD_KEEP_DEFAULT_OFF! This bug was never experienced by anyone because the HWV domains never failed probe, and because none of those is declared with the aforementioned flag - but it's still something critical. In order to fix this, add a check for MTCMOS Type and, based on that, call the correct functions for an "is on" check, and also do the same for the cleanup path, calling the correct functions for the "power off" action. For the latter, since there's a call to pm_genpd_remove() right before calling power_off, be cautious and add a variation of the power off functions (with a _internal suffix) for those to get a pointer to scpsys_domain instead of one to generic_pm_domain as, even if that's still working, this is way too much fragile and would break at some point.

Affected products

Linux
  • =<*
  • ==6.19
  • <a4876f11aa1d076802676e23f8af500706e780e3
  • <36c2d7728540252474752172027f0113028ab00c
  • =<7.1.*
  • <6.19
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc

In the Linux kernel, the following vulnerability has been resolved: dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc Use axi_dmac_free_desc() to free fully the descriptor at fail path when call axi_dmac_alloc_desc() in axi_dmac_prep_peripheral_dma_vec().

Affected products

Linux
  • <36e9cbbfc09ef792918e6a276dd7e2dbca7f31ce
  • <f055829151eed5a9ec4af98a6c1ce75dbaf2e372
  • <4910ce1b3b35687bb2a5e742c4bfbea3c647c980
  • =<*
  • <9f1ef67c041ef592c13603957ba08b6f21010004
  • =<6.18.*
  • =<6.12.*
  • <6.11
  • =<7.1.*
  • ==6.11
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
netfilter: nf_nat_sip: reload possible stale data pointer

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat_sip: reload possible stale data pointer quoting sashiko: ------------------------------------------------------------------------ [..] noticed a potential memory bug and header corruption involving the SIP NAT helper. In net/netfilter/nf_nat_sip.c:nf_nat_sip(): if (skb_ensure_writable(skb, skb->len)) { nf_ct_helper_log(skb, ct, "cannot mangle packet"); return NF_DROP; } uh = (void *)skb->data + protoff; uh->dest = ct_sip_info->forced_dport; if (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, protoff, 0, 0, NULL, 0)) { If a cloned or fragmented SKB is reallocated by skb_ensure_writable(), the old data buffer is freed. However, nf_nat_sip() fails to update *dptr to point to the new buffer. It also appears to use nf_nat_mangle_udp_packet() on what could be a TCP packet, which would overwrite the sequence number with a checksum update. ------------------------------------------------------------------------ nf_conntrack_sip linerizes skbs, hence no fragmented skb can be seen. But clones are possible, so rebuild dptr. Disable nf_nat_mangle_udp_packet() branch for TCP streams. It doesn't look like this can ever happen, else we should have received bug reports about this, so just check the conntrack is UDP and drop otherwise. The calling conntrack_sip set ->forced_dport for SIP_HDR_VIA_UDP messages, so I don't think this is ever expected to be true for a TCP stream.

Affected products

Linux
  • <0e76e3e886cc9ee027337d5ad39cb96f57b7bdc7
  • =<5.10.*
  • <2bcf2c5052fb5e73e255140ab43f056aef409c27
  • <3.9
  • <dc11f26685aa850f237226f0f463647aea58ab7c
  • =<*
  • =<6.6.*
  • <77e43bcb7ec177e293a5c3f1b91a2c5aebfb6c68
  • ==3.9
  • =<6.18.*
  • =<6.12.*
  • <e38143c9b477f2968024c47c647dd4456a40aff1
  • <bded21a4bf9bf86a79148be735723a97ca9a7532
  • =<5.15.*
  • =<7.1.*
  • <eae9c6ccb5af69c713a65f8ae219f5c1aa32cd17
  • <57e4e29644ec054d7021d296407e7ddd844afea2
  • =<6.1.*
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
mm/damon/core: always put unsuccessfully committed target pids

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: always put unsuccessfully committed target pids damon_commit_target() puts and gets the destination and the source target pids. It puts the destination target pid because it will be overwritten by the source target pid. It gets the source pid because the caller is supposed to eventually put the pids. In more detail, the caller will call damon_destroy_ctx() after damon_commit_ctx() to destroy the entire source context. And in this case, [f]vaddr operation set's cleanup_target() callback will put the pids. The commit operation is made at the context level. The operation can fail in multiple places including in the middle and after the targets commit operations. For any such failures, immediately the error is returned to the damon_commit_ctx() caller. If some or all of the source target pids were committed to the destination during the unsuccessful context commit attempt, those pids should be put twice. The source context will do the put operations using the above explained routine. However, let's suppose the destination context was not originally using [f]vaddr operation set and the commit failed before the ops of the source context is committed. The destination does not have the cleanup_target() ops callback, so it cannot put the pids via the damon_destroy_ctx(). As a result, the pids are leaked. The issue in the real world would be not very common. The commit feature is for changing parameters of running DAMON context while inheriting internal status like the monitoring results. The monitoring results of a physical address range ain't have things that are beneficial to be inherited to a virtual address ranges monitoring. So the problem-causing DAMON control would be not very common in the real world. That said, it is a supported feature. And damon_commit_target() failure due to memory allocation is relatively realistic [1] if there are a huge number of target regions. Fix by putting the pids in the commit operation in case of the failures. The issue was discovered [2] by Sashiko.

Affected products

Linux
  • =<*
  • <837f619f1d98e967bd63e51ecd1e77bfa468992d
  • =<6.18.*
  • =<6.12.*
  • <6.11
  • <6a66c557a2ab2609575bafd15e093669c05f9711
  • =<7.1.*
  • <3b91c35961fa5553b4dd36db1f06e3b4acbfc05d
  • ==6.11
  • <ea07e045611ca00f1ec7e448fd43e655d311158b
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
apparmor: fix uninitialised pointer passed to audit_log_untrustedstring()

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix uninitialised pointer passed to audit_log_untrustedstring() Commit 4a134723f9f1 ("apparmor: move check for aa_null file to cover all cases") intrdouced a small bug, where path_name() may pass a potentially uninitialized *name to aa_audit_file() if the path->dentry had been replaced with aa_null.dentry earlier on. This can lead to page fault like one observed on 7.0.2 openSUSE Tumbleweed kernel: [51692.242756] [ T24690] BUG: unable to handle page fault for address: 0000000f00000003 [51692.242762] [ T24690] #PF: supervisor read access in kernel mode [51692.242763] [ T24690] #PF: error_code(0x0000) - not-present page [51692.242765] [ T24690] PGD 0 P4D 0 [51692.242768] [ T24690] Oops: Oops: 0000 [#1] SMP NOPTI [51692.242772] [ T24690] CPU: 3 UID: 1020 PID: 24690 Comm: snap-confine Tainted: G O 7.0.2-1-default #1 PREEMPT(full) openSUSE Tumbleweed ab90b4c9940707f9cafa19bdad80b2cec52dbe51 [51692.242775] [ T24690] Tainted: [O]=OOT_MODULE [51692.242777] [ T24690] Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.18 01/08/2026 [51692.242778] [ T24690] RIP: 0010:strlen+0x4/0x30 [51692.242783] [ T24690] Code: f7 75 ec 31 c0 e9 17 9f 00 ff 48 89 f8 e9 0f 9f 00 ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <80> 3f 00 74 18 48 89 f8 0f 1f 40 00 48 83 c0 01 80 38 00 75 f7 48 [51692.242785] [ T24690] RSP: 0018:ffffd015eb1e3608 EFLAGS: 00010282 [51692.242787] [ T24690] RAX: 0000000000000000 RBX: ffff89796198a360 RCX: 0000000000000000 [51692.242788] [ T24690] RDX: 00000000000000d1 RSI: 0000000f00000003 RDI: 0000000f00000003 [51692.242790] [ T24690] RBP: ffffffffb7ede090 R08: 00000000000005f5 R09: 0000000000000000 [51692.242791] [ T24690] R10: 0000000000000000 R11: 0000000000000000 R12: ffffd015eb1e3700 [51692.242792] [ T24690] R13: ffff8977a22bc380 R14: ffffffffb7ec5190 R15: ffff8977a0c8aa80 [51692.242794] [ T24690] FS: 0000000000000000(0000) GS:ffff897f640d8000(0000) knlGS:0000000000000000 [51692.242796] [ T24690] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [51692.242797] [ T24690] CR2: 0000000f00000003 CR3: 00000006ad15f000 CR4: 0000000000f50ef0 [51692.242799] [ T24690] PKRU: 55555554 [51692.242800] [ T24690] Call Trace: [51692.242802] [ T24690] <TASK> [51692.242804] [ T24690] audit_log_untrustedstring+0x1d/0x40 [51692.242811] [ T24690] common_lsm_audit+0x71/0x1d0 [51692.242816] [ T24690] aa_audit+0x5a/0x170 [51692.242819] [ T24690] aa_audit_file+0x18a/0x1b0 [51692.242825] [ T24690] path_name+0xd2/0x100 [51692.242829] [ T24690] profile_path_perm.part.0+0x58/0xb0 [51692.242832] [ T24690] aa_path_perm+0xef/0x150 [51692.242837] [ T24690] apparmor_file_open+0x153/0x2e0 [51692.242840] [ T24690] security_file_open+0x46/0xd0 [51692.242844] [ T24690] do_dentry_open+0xe9/0x4d0 [51692.242848] [ T24690] vfs_open+0x30/0x100 While here, initialise variables which are passed down to path_name().

Affected products

Linux
  • <6.20
  • =<*
  • <a5c79d44ef19203bd7cf6f3de8ff088112ebff95
  • ==7.0
  • <2791dd42d41e38805572b12116f721c97c4fcc0c
  • <7.0
  • <6.18.40
  • =<6.18.*
  • =<7.1.*
  • <bcd1b34c21748531a3febaf7440632b89d8deab7
  • ==d276f52ecaf854e41549311e93802afea0abab5b
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
uprobes/x86: Use proper mm_struct in __in_uprobe_trampoline

In the Linux kernel, the following vulnerability has been resolved: uprobes/x86: Use proper mm_struct in __in_uprobe_trampoline In the unregister path we use __in_uprobe_trampoline check with current->mm for the VMA lookup, which is wrong, because we are in the tracer context, not the traced process. Add mm_struct pointer argument to __in_uprobe_trampoline and changing related callers to pass proper mm_struct pointer.

Affected products

Linux
  • <c9170c83b0e0fc2065a4c2bca5bf1f90c5880156
  • <169328645663bae30e9abad4012d52441e085a71
  • <6.18
  • =<*
  • ==6.18
  • <1acddd3e22dd6912dd5d54f80462405a1f1e6bae
  • =<6.18.*
  • =<7.1.*
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
llc: fix SAP refcount leak in llc_ui_autobind()

In the Linux kernel, the following vulnerability has been resolved: llc: fix SAP refcount leak in llc_ui_autobind() llc_ui_autobind() opens a SAP after choosing a dynamic LSAP. llc_sap_open() returns a reference owned by the caller, and llc_sap_add_socket() takes a second reference for the socket's membership in the SAP hash tables. llc_ui_bind() drops the caller's reference after adding the socket, but llc_ui_autobind() keeps it. When the socket is closed, llc_sap_remove_socket() releases only the socket reference, leaving the SAP on llc_sap_list with sk_count == 0. This is user-visible because repeated autobind and close cycles can consume all dynamic SAP values and make later autobinds fail with -EUSERS. Drop the caller's reference after a successful autobind, matching llc_ui_bind()'s ownership model.

Affected products

Linux
  • <61a7ff4a62003b55a15022567486741b3bd83914
  • <21a537606fe35be2b85971a5fd35c0023b6ef98f
  • =<5.10.*
  • =<6.6.*
  • =<*
  • <79dc4b508e3f2649390a1f745f7657813e5938ec
  • <660667cd406648bbaffbd5c0d897c2263a852f11
  • <a2f9fa31ae021ef1fdcaf3ab17bd49f9223dd6a4
  • =<6.18.*
  • =<6.12.*
  • <b589a965184dde49c43b8caf5bcc65715a7b4ef2
  • <2.6.12
  • =<7.1.*
  • =<5.15.*
  • ==2.6.12
  • <c7881b6088276601beaccb7440b8d56eab0d65ae
  • <b2fc9955ddc7c4ca03be44b995193bd6486c62e1
  • =<6.1.*
Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
octeontx2-af: Free BPID bitmap on setup failure

In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Free BPID bitmap on setup failure nix_setup_bpids() allocates bp->bpids with rvu_alloc_bitmap(), which uses a plain kcalloc(). If any of the following devm_kcalloc() allocations for the BPID mapping arrays fails, the function returns without freeing the bitmap. Free the BPID bitmap before returning from those error paths.

Affected products

Linux
  • <7a939b683a74bd7d7ce4e3b7f696b491c8d71af4
  • <d0c880c9f4051100517040d065caff60e913b659
  • =<*
  • <6.9
  • <19c148cb82d11bb7cc7d86038a94e608a297e63c
  • ==6.9
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • <36323f54cd323122a1be89ab2c316a6e55a94e30