Where
AND
-Infinity
0
Severity
1
EPSS
0.15%

i3c: master: Fix recursive locking during device registration

1 / 4
Source: Microsoft
First published (updated )
Severity
3.3
EPSS
0.20%
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U

In the Linux kernel, the following vulnerability has been resolved:

smack: fix incorrect task context in smackmsgqueuemsgrcv

The smackmsgqueuemsgrcv() function incorrectly checks the permissions of the 'current' task instead of the 'target' task.

In the msgsnd() syscall path, if a receiver is already waiting, the pipelinedsend() optimization is used to push the message directly to the receiver task:

ipc/msg.cpipelinedsend(): smpstorerelease(&msr->rmsg, msg)

In this case, the 'sender' (current) task performs the check on behalf of the 'receiver' task (msr->rtsk, passed as the 'target' parameter):

ipc/msg.cpipelinedsend(): securitymsgqueuemsgrcv(,, target := msr->rtsk,,)

However, smackmsgqueuemsgrcv() ignores the 'target' and checks 'current':

smackmsgqueuemsgrcv(…) smkcuraccmsq(isp, MAYREADWRITE); // current task

'current' MAY satisfy smackmsgqueuemsgrcv r/w requirement, but 'target' (the receiver task) might NOT; as a result, an unauthorized receiver gets the message, violating MAC policy.

Test: 1) create a sysv message queue with label “foo” 2) echo "bar foo r" >/smack/load2 3) msgrcv(,,,0,MSGNOERROR) in "bar"-labeled task. The task is waiting for the messages ... 4) msgsnd() from a "foo"-labeled task: "bar"-labeled task gets the message.

This patch fixes the issue by checking permission on the 'target' task instead of 'current'.

(2008-02-04, Casey Schaufler)

1 / 4
Source: NVD
First published (updated )
Severity
1
EPSS
0.18%

In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: ipc4-topology: Return error for invalid number of formats

When the number of input or output formats is zero, sofipc4widgetsetupcompsrc() and sofipc4widgetsetupcompasrc() print an error and jump to the cleanup label. At that point 'ret' is still 0, because the earlier sofipc4getaudiofmt() call succeeded, so the function returns success and the caller never finds out that the widget setup actually failed.

Set ret to -EINVAL before the goto so the error gets reported.

1 / 2
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%

In the Linux kernel, the following vulnerability has been resolved:

perf/x86/intel/uncore: Fix uncorebox ref/unref ordering

In uncoreeventcpuonline(), uncoreboxref() was called before uncorechangecontext(). uncoreboxref() gates on box->cpu >= 0, but box->cpu is still -1 at that point because uncorechangecontext() has not run yet. As a result, the box is never initialized on the first CPU to come online in a die, leaving it permanently uninitialized in the single-CPU-per-die case.

Thus, box->refcnt is one count below the true value, and in the CPU offline path, the box will be torn down on the second-to-last CPU.

In uncoreeventcpuoffline(), uncoreboxunref() was called after uncorechangecontext(), so box->cpu is already -1 when the collector CPU goes offline, which prevents it from tearing down the box.

Fix by swapping the call order in both paths so that uncorebox{ref,unref}() runs at the point where box->cpu reflects the correct context.

Move allocateboxes() out of uncoreboxref() to enable this reordering.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.20%

In the Linux kernel, the following vulnerability has been resolved:

mm/mminit: handle allocpercpu failure in freeareainitcorehotplug

We miss a failed allocation check for pgdat->percpunodestats, which results in a NULL deref when we offset into the per-cpu area.

Propagate -ENOMEM up the stack and leave percpunodestats pointing at bootnodestats so a later online can retry the allocation.

hotaddinitpgdat() returns NULL on failure, which tryonlinenode() already maps to -ENOMEM.

On failure nothing needs to be unwound: - the node is never marked online - percpunodestats is left pointing at bootnodestats - addmemoryresource() cleans up pending memblock resources - later online attempts retry the percpunodestats allocation

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%

In the Linux kernel, the following vulnerability has been resolved:

leds: lp5860: Fix a potential double-unlock

In lp5860deviceinit(), if lp5860initdt() fails, an already unlocked mutex is unlocked another time.

Slightly rework how the lock is taken/released to avoid this potential double unlock.

1 / 2
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%

In the Linux kernel, the following vulnerability has been resolved:

wifi: rtw89: debug: fix off by on in rtw89ppdustr()

This > comparison should be >= to avoid an out of bounds access.

1 / 2
Source: NVD
First published (updated )
Severity
1
EPSS
0.21%

In the Linux kernel, the following vulnerability has been resolved:

crypto: qat - clear AES key schedule from stack

qatalgxtsreversekey() expands the forward XTS AES key on the stack. That schedule contains key material and can remain in the stack frame.

Clear the temporary cryptoaesctx with memzeroexplicit() after the copy.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.20%

In the Linux kernel, the following vulnerability has been resolved:

crypto: qat - cancel work on re-enable SR-IOV timeout

The QAT reset worker queues SR-IOV reenable work using a workstruct and completion embedded in an on-stack adfsriovdevdata. If the completion wait times out, the reset worker can return while devicesriovwq still holds or executes the stack-backed work item.

Cancel the work on the devicesriovwq on timeout before the stack frame unwinds.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.21%

In the Linux kernel, the following vulnerability has been resolved:

crypto: atmel-sha204a - fix heap info leak on I2C transfer failure

The nonblocking RNG path allocates a workdata structure to track the state of an in-flight asynchronous I2C request. This pointer is stored in rng->priv and later consumed by the read path once the transaction completes.

If the underlying I2C transfer fails, the completion callback is invoked with a non-zero status. In this case, the allocated workdata is not usable for producing RNG output and must not remain associated with the hwrng state.

Previously, the failure path only logged a warning but left the pointer state uncleared, which can result in subsequent read attempts observing stale state and interpreting it as valid completion data.

Fix this by freeing the pending workdata. The I2C transaction reports an error. This ensures that failed requests do not leave residual state behind that could be interpreted as valid RNG data on later reads. Clearing rng->priv is done at the subsequent call to nonblocking read.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%

In the Linux kernel, the following vulnerability has been resolved:

RDMA/bngre: return a timeout when firmware responses stall

waitforresp() documents that it returns a non-zero error when a firmware command does not complete, and bngrercfwsendmessage() already marks the firmware as stalled when the helper returns -ENODEV.

However, the helper ignores waiteventtimeout() expiry. If the response slot remains in use after the timeout and after the polled CREQ service attempt, the loop starts another full timeout period and can repeat forever.

Return -ENODEV after a timed out wait that still has no response. The existing caller then marks FIRMWARESTALLDETECTED and returns -ETIMEDOUT to the command issuer.

1 / 2
Source: NVD
First published (updated )
Severity
1.8
EPSS
0.20%
AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

cgroup/cpuset: Make nrdeadlinetasks an atomict

1 / 4
Source: Microsoft
First published (updated )
Severity
1
EPSS
0.20%

In the Linux kernel, the following vulnerability has been resolved:

ACPI: RISC-V: Check acpigethandle() status in riscvacpiaddprtdep()

In riscvacpiaddprtdep(), the acpigethandle() call can fail which would leave linkhandle uninitialized.

Fix it by checking the acpigethandle() return status and skip the entry if it fails.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.20%

In the Linux kernel, the following vulnerability has been resolved:

remoteproc: qcomq6v5adsp: Fix reference leak for device node

When calling ofparsephandlewithargs(), the caller is responsible to call ofnodeput() to release the reference of device node. In adspmapcarveout, it does not release the reference.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.17%

In the Linux kernel, the following vulnerability has been resolved:

clk: qcom: camcc-sc8280xp: unregister CAMCCGDSCCLK

With the introduction of syncstate support in the clk and pmdomain subsystems, the following warning happens when the unused clocks are shutdown in camcc-sc8280xp:

[ 15.408367] titantopgdsc status stuck at 'on' [ 15.408429] WARNING: drivers/clk/qcom/gdsc.c:178 at gdsctogglelogic+0x14c/0x160, CPU#2: kworker/u32:1/14 [ 15.408462] Modules linked in: bnep vfat fat ath11kpci(+) ath11k mac80211 cfg80211 mhi libarc4 sndsocwcd938x sndsocwcd938xsdw sndsocwcdclassh hciuart sndsocwcdcommon sndsocsc8280xp soundwireqcom sndsocwcdmbhc sndsocqcomsdw slimbus sndsocqcomcommon regmapsdw btqca btrtl qcomcamss soundwirebus btbcm btintel sndsocsdca sndsoclpasswsamacro bluetooth sndsoclpasstxmacro sndsoclpassvamacro sndsoclpassrxmacro sndsochdmicodec sndsoclpassmacrocommon videobuf2dmasg ov5675 v4l2fwnode videobuf2memops qcomspmiadc5 sndsoccore qcomspmiadctm5 videobuf2v4l2 sndseq sndseqdevice videobuf2common v4l2async qcomvadccommon qcomspmitempalarm pm8941pwrkey industrialio videodev sndcompress rfkill ac97bus sndpcmdmaengine qcomtsens mc qcomedac sndpcm pcipwrctrlpwrseq qcomcpufreqhw sndtimer snd qcomtee soundcore tee ledsgpio joydev binfmtmisc zram lz4hccompress governorsimpleondemand paneledp msm xhciplathcd nvme nvmecore dwc3 qcompm8008regulator [ 15.408688] ucsiglink nvmekeyring nvmeauth pmicglinkaltmode udccore typecucsi auxhpdbridge qcombattmgr ulpi ubwcconfig socinfo ocmem drmgpuvm qcomq6v5pas drmexec qcompilinfo ledsqcomlpg gpusched ledclassmulticolor rtcpm8xxx qcompbs qcomcommon drmdisplayhelper qcompon qcomglinksmem qcomglink ghashce pwrseqqcomwcn gpiosbumux qcomstats phyqcomqmpcombo qcomq6v5 gf128mul cec dispccsc8280xp phyqcomedp camccsc8280xp i2cqcomcci qcomsysmon drmdpauxbus mdtloader auxbridge qcompm8008 i2chidofelan dwc3qcomlegacy llccqcom iccbwmon gpi typec qcomrefgenregulator phyqcomqmpusb nvmemqfprom qcomipcc phyqcomsnpsfemtov2 gpuccsc8280xp pinctrlsc8280xplpasslpi qcomhwspinlock pinctrllpasslpi lpassccsc8280xp qrtr qcomaoss pmicglink pdrinterface phyqcomqmppcie qcomsmd qcompdrmsg iccosml3 qcomwdt qmihelpers qcomrng smp2p rpmsgcore gpiokeys pwmbl smem hidmultitouch fuse i2cdev [ 15.408928] CPU: 2 UID: 0 PID: 14 Comm: kworker/u32:1 Not tainted 7.1.0+ #2 PREEMPT(lazy) [ 15.408937] Hardware name: LENOVO 21BX0016US/21BX0016US, BIOS N3HET88W (1.60 ) 03/14/2024 [ 15.408942] Workqueue: pm pmruntimework [ 15.408959] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 15.408967] pc : gdsctogglelogic+0x14c/0x160 [ 15.408978] lr : gdsctogglelogic+0x14c/0x160 [ 15.408987] sp : ffff8000800f3b40 [ 15.408991] x29: ffff8000800f3b40 x28: 0000000000000000 x27: 0000000000000000 [ 15.409003] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 [ 15.409014] x23: 0000000000000000 x22: 0000000000000001 x21: ffffa33f298fca88 [ 15.409024] x20: 0000000000000000 x19: ffffa33f298fc5b0 x18: 00cd15db75dacefd [ 15.409035] x17: 000000040044ffff x16: ffffa33f3b1a3d88 x15: 726f776b80000002 [ 15.409045] x14: ffffffffffffffff x13: 0000000000000028 x12: 0101010101010101 [ 15.409056] x11: 7f7f7f7f7f7f7f7f x10: fefeff3039313274 x9 : ffffa33f3a5edafc [ 15.409067] x8 : ffff8000800f3780 x7 : 0000000000000001 x6 : 0000000000000001 [ 15.409078] x5 : ffff000bf3ca1288 x4 : 0000000000000000 x3 : ffff5cccb6a3f000 [ 15.409088] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000080ae0000 [ 15.409098] Call trace: [ 15.409103] gdsctogglelogic+0x14c/0x160 (P) [ 15.409115] gdscdisable+0x4c/0x190 [ 15.409126] genp ---truncated---

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.21%

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Drain RCU callbacks during module teardown

devxfreesubscription() can remain queued after the last DevX event file drops its module reference or an auxiliary driver detaches its devices. mlx5ib can then unload before the callback runs.

Registration error unwind has the same risk because driver registration can attach existing devices before failing. Wait after all drivers have stopped.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.17%

In the Linux kernel, the following vulnerability has been resolved:

RDMA/hfi1: Free RX data on late probe failure

hfi1initdd() allocates the shared AIP/VNIC RX support before returning. If hfi1init() or hfi1registeribdevice() later fails, initone() tears down the device data without calling hfi1freerx(). This leaks netdevrx and its dummy netdev.

Free the RX support after IB unregistration and before postinitcleanup(), as done on normal device removal.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.17%
Use After Free

In the Linux kernel, the following vulnerability has been resolved:

fs/resctrl: Prevent use-after-free in rdtgroupknput()

A struct rdtgroup is reference counted via rdtgroup::waitcount. Callers that need the structure to remain valid across a sleep (while waiting on acquiring rdtgroupmutex) take a reference with rdtgroupknget() and release it with rdtgroupknput().

The release path is intended to serve as the fallback freer: if the count drops to zero and the group has already been marked RDTDELETED, rdtgroupknput() frees the structure.

The bulk teardown paths freeallchildrdtgrp() and rmdirallsub() resulting from a resctrl directory remove or resctrl fs unmount act as the primary freer: they hold rdtgroupmutex and free each rdtgroup whose waitcount is zero, otherwise they set RDTDELETED and leave the freeing to the last waiter.

These two freers race. rdtgroupknput() commits waitcount == 0 with atomicdecandtest() outside rdtgroupmutex, then reads rdtgroup::flags. Between those two operations a concurrent caller of freeallchildrdtgrp() or rmdirallsub() (which holds the mutex) can observe waitcount == 0 via atomicread(), call rdtgroupremove(), and kfree() the structure.

The subsequent read of rdtgroup::flags in rdtgroupknput() is then a use-after-free, and the structure may even be freed twice if the freed memory happens to satisfy the RDTDELETED flag check.

Replace the bare atomicdecandtest() with atomicdecandmutexlock() so that the decrement-to-zero takes rdtgroupmutex before the count becomes globally visible. The inspection of rdtgroup::flags then runs under the same mutex held by the bulk freers, making the two paths mutually exclusive.

The common case where the count does not reach zero remains lock-free. Defer kernfsunbreakactiveprotection() until after the mutex is dropped since kernfs active protections functionally wrap rdtgroupmutex. Remove resource group, which in turn drops its kernfs reference, after kernfs protection is restored.

[ bp: Split the commit messsages into smaller, easier-parseable paragraphs. ]

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%
Use After Free

fs/resctrl: Fix UAF from worker threads when domains are removed

1 / 3
Source: Microsoft
First published (updated )
Severity
1
EPSS
0.17%

firmware: armscmi: Quiesce notifications before teardown

1 / 4
Source: Microsoft
First published (updated )
Severity
1
EPSS
0.20%

In the Linux kernel, the following vulnerability has been resolved:

firmware: armscmi: Reject out of range DT protocol IDs

SCMI protocol IDs carried in message headers are limited by MSGPROTOCOLIDMASK. The DT parsing paths noticed protocol IDs outside that range, but only logged an error and then kept processing the invalid value.

That lets a malformed 32-bit DT reg value reach helpers which take a u8 protocol ID, where it can be truncated and/or treated as a different protocol.

For channel setup, two different out-of-range values can also be used as distinct IDR keys while aliasing the generated SCMI protocol identity.

Skip DT protocol nodes whose reg value does not fit the SCMI protocol ID field before setting up channels or creating protocol devices.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.17%

In the Linux kernel, the following vulnerability has been resolved:

firmware: armscmi: Unwind TX receiver mailbox setup failure

mailboxchansetup() can request an additional unidirectional TX receiver channel after successfully acquiring the primary channel. If that second request fails, the function returns immediately and leaves the primary channel allocated.

Unwind the primary mailbox channel before returning the error so probe deferral or other setup failures do not leave the channel busy for later probe attempts.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%

In the Linux kernel, the following vulnerability has been resolved:

firmware: armscmi: Fix SCMI device destroy lifetimes

scmichilddevfind() drops the reference returned by devicefindchild() before returning the scmidevice pointer. A concurrent unregister can then release the device while the destroy path is still using the returned pointer.

Make the lookup helper return the devicefindchild() reference and keep it until scmidevicedestroy() has finished unregistering the child.

Also split deviceunregister() in scmidevicedestroy() so the SCMI bus ID is not made reusable until after devicedel() has removed the old scmidev.N name from sysfs. This avoids a new SCMI device reusing the same ID while the old device is still registered.

The final device release callback is also a possible cleanup path when SCMI children are deleted by driver core recursion rather than scmidevicedestroy(). Release the SCMI bus ID from a common helper used by destroy, register-failure and final-release paths, and clear scmidev->id after freeing it so the final release cannot free the same ID again.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.20%

cxl/features: Clamp Get Feature output size to the remaining buffer

1 / 3
Source: Microsoft
First published (updated )
Severity
1
EPSS
0.20%
Null Pointer Dereference

drm/amd/display: Fix DM I2C teardown race

1 / 3
Source: Microsoft
First published (updated )
Severity
1
EPSS
0.21%

In the Linux kernel, the following vulnerability has been resolved:

gpu: host1x: Avoid stack over-read in debug output helpers

host1xdebugoutput() and host1xdebugcont() used vsnprintf(), which returns the length the formatted string would have reached with an unbounded buffer. That return value was passed straight to o->fn as the number of bytes to emit.

This could cause a read past end of the output buffer if a call to host1xdebug produced a string longer than 256 bytes. This only affected the debugfs files as the printk debug sink ignores the number of bytes. In practice, this is very unlikely to occur.

Fix by switching to vscnprintf(), which returns the number of bytes actually written.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.18%

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: fuac1legacy: remove broken string configfs attributes

The UAC1STRATTRIBUTE macro defines configfs show/store handlers for the fnplay, fncap, and fncntl string options. The store function contains an inverted null check on the kstrndup() return value.

This means every write attempt returns -ENOMEM on success and dereferences a NULL pointer on allocation failure. The attributes have been broken and unused for many years.

Remove the UAC1STRATTRIBUTE macro and the three attributes it generated. The internal defaults (FILEPCMPLAYBACK, FILEPCMCAPTURE, FILECONTROL) set in faudioallocinst() are unaffected.

1 / 3
Source: NVD
First published (updated )
Severity
1
EPSS
0.19%

In the Linux kernel, the following vulnerability has been resolved:

iio: dac: ad5686: missing NULL check on match data

Verify that chipinfo pointer is not NULL. If a user binds the driver using driveroverride via sysfs with a device name not present in the idtable or ofmatchtable, match data will be NULL.

1 / 2
Source: NVD
First published (updated )
Severity
1
Use After Free

In the Linux kernel, the following vulnerability has been resolved:

RDMA/manaib: drain QP references after partial table insertion

manatablestoreudqp() publishes a QP at its send-queue id before inserting the receive-queue id, dropping the XArray lock between the two xainsertirq() calls. A concurrent completion handler can look up the QP and take a transient reference. When the second insertion fails, the rollback erased only the send-queue entry and returned, leaving both the initial table reference and the transient reference outstanding while RDMA core frees the QP, causing a use-after-free.

Drain the reference as normal destruction does: drop the initial reference and wait for qp->free, releasing the QP only after every concurrent lookup returns its reference.

1 / 3
Source: NVD
First published (updated )
Severity
1

In the Linux kernel, the following vulnerability has been resolved:

iommu/amd: Fix undefined behavior in devidwrite debugfs function

When foreachpcisegment() loop completes without finding a matching segment, the pciseg pointer is not NULL but points to an invalid memory location (the list head). Accessing pciseg->id after the loop causes undefined behavior.

Fix this by handling the successful case inside the loop and returning -EINVAL after the loop if no matching segment is found.

1 / 3
Source: NVD
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203