Where
AND
AND
-Infinity
0
Severity
5.4
EPSS
0.11%
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

staging: rtl8723bs: fix mismatched free of HalData in rtwsdioif1init()

padapter->HalData is allocated via vzalloc(), but incorrectly freed using kfree() in the rtwsdioif1init() error path. Using kfree() to release this vmalloc-backed buffer can lead to memory corruption.

Use rtwhaldatadeinit() to pair the free correctly and free HalData with vfree().

The bug was first flagged by an experimental static analysis tool we are developing for kernel memory-management bugs. Manual inspection confirms that the issue is still present in current mainline.

An x8664 allyesconfig build showed no new warnings. As we do not have suitable RTL8723BS SDIO hardware to test with, no runtime testing was able to be performed.

1 / 4
Source: NVD
First published (updated )
Severity
5.7
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H/E:U

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

net: hsr: free learned nodes on device setup failure

hsrdevfinalize() can fail after a lower-device RX handler has already been registered (slave A is added before the failable slave B and interlink adds). RX handlers run in softirq regardless of the master's state, so frames received in that window can learn dynamic nodes into nodedb, and the error unwind never releases them.

Free both owned dynamic databases in the unwind, mirroring hsrdellink(). proxynodedb is provably empty on every current error exit (only interlink RX feeds it, and the interlink add is the last failable step) and is freed for symmetry. The order is safe: hsrdelport() unregisters each RX handler with synchronizenet() before hsrdelnodes() runs, which removes remaining entries with listdelrcu() and defers their release with callrcu() for readers already under RCU.

1 / 4
Source: NVD
First published (updated )
Severity
5.5
EPSS
0.12%
Null Pointer Dereference
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

scsi: mpi3mr: Fix NULL pointer dereference in mpi3mrsasportadd()

sasportallocnum() can return NULL on memory allocation failure. The return value is passed directly to sasportadd() without a NULL check, which causes a NULL pointer dereference.

Additionally, if sasportadd() fails, the allocated port is not freed before jumping to outfail, leaking the sasport structure. Call sasportfree() to properly release it.

1 / 4
Source: NVD
First published (updated )
Severity
5.5
EPSS
0.12%
Null Pointer Dereference
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U

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

watchdog: msc313e: Fix NULL pointer dereference in PM callbacks

msc313ewdtprobe() doesn't set the driver data for the platform device. As a result, devgetdrvdata() in msc313ewdtsuspend() and msc313ewdtresume() will return NULL, leading to a NULL pointer dereference afterward.

Set the platform device driver data in msc313ewdtprobe().

1 / 4
Source: NVD
First published (updated )
Severity
5.3
EPSS
0.21%
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U

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

ksmbd: rate limit unmapped SID errors

A client can include many structurally valid but unmapped SIDs in a DACL. Logging every mapping failure lets one request generate hundreds of kernel error messages.

Rate limit the message to prevent an authenticated client from flooding the kernel log.

1 / 4
Source: NVD
First published (updated )
Severity
6.8
EPSS
0.18%
Null Pointer Dereference
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

tipc: fix NULL deref in tipcnamednodeup() on empty publication list

User-space applications can bind a large number of service addresses to one or more sockets. Each binding of a local-scope service address inserts one entry (publication) into the TIPC name table. If the number of these publications exceeds TIPCMAXPUBL (65535), protocol service types (such as node state and link state) are no longer inserted into the name table. This causes two issues:

1. User-space applications subscribing to node or link up/down events stop receiving notifications.

2. A NULL pointer dereference can occur:

BUG: kernel NULL pointer dereference, address: 00000000000000d0 ... CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.2.0-rc4-default+ #5 PREEMPT(full) ... RIP: 0010:tipcnamednodeup (./include/linux/skbuff.h:2251 net/tipc/namedistr.c:195 net/tipc/namedistr.c:221) ... Call Trace: <IRQ> tipcnodewriteunlock (net/tipc/node.c:428) tipcrcv (net/tipc/node.c:934 net/tipc/node.c:2189) tipcudprecv (net/tipc/udpmedia.c:389)

Thread 1 (tipcnetfinalize) | Thread 2 (nameddistribute) -----------------------------|----------------------------- | ... | listforeachentry(publ, pls, bindingnode) { | ... | skbqueuetail(list, skb); | ... | } | ... | hdr = bufmsg(skbpeektail(list)); ... | tipcnametblpublish(); |

If 'tipcnametblpublish()' (Thread 1) fails because the number of local publications reaches TIPCMAXPUBL, list (Thread 2) will be empty. As a result, NULL is passed to 'bufmsg()', leading to a NULL pointer dereference.

Fix these issues by allowing protocol service types (node state, link state, and topology server) to be inserted into the name table unconditionally. This ensures that users subscribing to these types always receive notifications. In addition, the maximum number of local user publications is reduced to (TIPCMAXPUBL - 1). This ensures that the maximum bulk size calculated in tipclinksetqueuelimits() remains valid.

1 / 4
Source: NVD
First published (updated )
Severity
6.8
EPSS
0.18%
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H/E:U

afpacket: Don't cast tpackethdr.tplen to int in tpacketparseheader().

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

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

staging: fbtft: make dirtylock IRQ-safe

fbtftmkdirty() can be reached from the fbcon rendering path while processing printk() in hardirq context. Meanwhile, dirtylock is also taken by fbtftdeferredio() in workqueue context with local interrupts enabled.

Lockdep reports a possible IRQ lock inversion involving dirtylock and consoleowner. A hardirq can interrupt a CPU holding dirtylock and enter the console rendering path, which can attempt to acquire dirtylock again.

The following lockdep report was observed on an RK3566 system with CONFIGPROVELOCKING enabled:

WARNING: possible irq lock inversion dependency detected swapper/2/0 just changed the state of lock: (consoleowner){-...}-{0:0} but this lock took another, HARDIRQ-unsafe lock in the past: (&par->dirtylock){+.+.}-{2:2}

CPU0 CPU1 ---- ---- lock(&par->dirtylock); localirqdisable(); lock(consoleowner); lock(&par->dirtylock); <Interrupt> lock(consoleowner);

DEADLOCK

Use spinlockirqsave() for fbtftmkdirty() and spinlockirq() for fbtftdeferredio(). They only access the dirty line range, so the IRQ-off regions remain short.

1 / 4
Source: NVD
First published (updated )
Severity
6.8
EPSS
0.17%
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

ASoC: amd: yc: fix memory leak in acp6xpdmdmaclose()

1 / 4
Source: Microsoft
First published (updated )
Severity
5.5
EPSS
0.18%
Use After Free
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

btrfs: detach failed sprout device from transaction update list

1 / 4
Source: Microsoft
First published (updated )
Severity
5.5
EPSS
0.17%
Use After Free
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

btrfs: restore active device pointers after failed sprout

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

bonding: alb: fix uninitialized transport header access in albdeterminend()

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

btrfs: do not force reloc root creation during qgroupaccountsnapshot()

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

bonding: do not clear curractiveslave prematurely when releasing all slaves

1 / 4
Source: Microsoft
First published (updated )
Severity
6.7
EPSS
0.18%
Null Pointer Dereference
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:U

bpf: Fix NULL-ptr-deref in btfvarshow()

1 / 4
Source: Microsoft
First published (updated )
Severity
6.7
EPSS
0.18%
Null Pointer Dereference
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:U

bpf: Fix NULL-ptr-deref when showing a void BTF type

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

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

ASoC: Intel: avs: Clean up the bus when fetching ML caps fails

sndhdacextbusgetmlcapabilities() may fail and its return code shall be checked and accounted for. Address the issue by updating the error-path for avspciprobe().

At the same time, if the function in question succeeds but the next part of avspciprobe() fails, the hlink list shall be cleaned up before leaving the scope.

1 / 3
Source: NVD
First published (updated )
Severity
5.1
AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

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

wifi: p54: validate RX frame length in p54rxeepromreadback()

p54rxeepromreadback() copies the requested EEPROM slice out of a device-supplied readback frame without checking that the skb actually holds that many bytes. Commit da1b9a55ff11 ("wifi: p54: prevent buffer-overflow in p54rxeepromreadback()") closed the destination overflow by copying a fixed priv->eepromslicesize (and rejecting a mismatched advertised len), but the source side is still unbounded: nothing verifies the frame is long enough to supply that many bytes.

A malicious USB device can send a short frame whose advertised len matches priv->eepromslicesize while the payload is truncated. The equality check passes and memcpy() reads past the end of the skb, leaking adjacent heap:

BUG: KASAN: slab-out-of-bounds in p54rx (drivers/net/wireless/intersil/p54/txrx.c:507) Read of size 1016 at addr ffff88800f077114 by task swapper/0/0 Call Trace: <IRQ> ... asanmemcpy (mm/kasan/shadow.c:105) p54rx (drivers/net/wireless/intersil/p54/txrx.c:507) p54urxcb (drivers/net/wireless/intersil/p54/p54usb.c:163) usbhcdgivebackurb (drivers/usb/core/hcd.c:1657) dummytimer (drivers/usb/gadget/udc/dummyhcd.c:2005) ... </IRQ>

The buggy address belongs to the object at ffff88800f0770c0 which belongs to the cache skbuffsmallhead of size 704 The buggy address is located 84 bytes inside of allocated 704-byte region [ffff88800f0770c0, ffff88800f077380)

Check that the slice fits in the skb before copying.

1 / 4
Source: MITRE
First published (updated )
Severity
5.7
Null Pointer Dereference
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

mpls: fix NULL deref in mplsvalidfibdumpreq() on CONFIGINET=n

On CONFIGINET=n builds, mplsvalidfibdumpreq() walks the parsed attribute table itself instead of calling ipvalidfibdumpreq(). The RTAOIF arm passes tb[RTAOIF] to nlagetu32() without checking it is present, so an RTMGETROUTE dump for AFMPLS with strict checking and no RTAOIF hits a NULL dereference.

RTMGETROUTE is RTNLKINDGET, which rtnetlinkrcvmsg() permits without CAPNETADMIN, so an unprivileged user can trigger it.

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:mplsvalidfibdumpreq (net/mpls/afmpls.c:2189) Call Trace: mplsdumproutes (net/mpls/afmpls.c:2236) netlinkdump (net/netlink/afnetlink.c:2331) netlinkdumpstart (net/netlink/afnetlink.c:2446) rtnetlinkrcvmsg (net/core/rtnetlink.c:7033) netlinkrcvskb (net/netlink/afnetlink.c:2556) netlinkunicast (net/netlink/afnetlink.c:1345) netlinksendmsg (net/netlink/afnetlink.c:1900) socksendmsg (net/socket.c:790) syssendmsg (net/socket.c:2684) syssendmsg (net/socket.c:2738) syssendmsg (net/socket.c:2770) dosyscall64 (arch/x86/entry/syscall64.c:94) entrySYSCALL64afterhwframe (arch/x86/entry/entry64.S:121)

Skip unset attributes, as ipvalidfibdumpreq() does.

1 / 4
Source: MITRE
First published (updated )
Severity
5.4
Buffer Overflow
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Input: ims-pcu - fix heap-buffer-overflow in imspcuprocessdata()

The imspcuprocessdata() processes incoming URB data byte by byte. However, it fails to check if the readpos index exceeds IMSPCUBUFSIZE.

If a malicious USB device sends a packet larger than IMSPCUBUFSIZE, readpos will increment indefinitely. Moreover, since readpos is located immediately after readbuf, the attacker can overwrite readpos itself to arbitrarily control the index.

This manipulated readpos is subsequently used in imspcuhandleresponse() to copy data into cmdbuf, leading to a heap buffer overflow.

Specifically, an attacker can overwrite the cmddone.wait.head located at offset 136 relative to cmdbuf in the imspcuhandleresponse(). Consequently, when the driver calls complete(&pcu->cmddone), it triggers a control flow hijack by using the manipulated pointer.

Fix this by adding a bounds check for readpos before writing to readbuf. If the packet is too long, discard it, log a warning, and reset the parser state.

[dtor: factor out resetting packet state, reset checksum as well]

1 / 4
Source: MITRE
First published (updated )
Severity
5.8
Use After Free
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

rhashtable: clear stale iter->p on table restart

rhashtablewalkstartcheck() has two restart paths when resuming a walk. When iter->walker.tbl is valid, it re-validates iter->p against the table and sets iter->p = NULL if the object is gone. When iter->walker.tbl is NULL (table was freed during resize), it resets slot and skip but forgets to clear iter->p.

rhashtablewalknext() then dereferences the stale iter->p, reading freed memory. This is a use-after-free.

Any caller that does multi-fragment rhashtable walks across walkstop/walkstart boundaries is affected. Concrete cases include netlinkdiag (netlinkdiagdump in net/netlink/diag.c) and TIPC (tipcnlskwalk in net/tipc/socket.c).

Crash stack (netlinkdiag): BUG: KASAN: slab-use-after-free in rhashtablewalknext+0x365/0x3c0 Read of size 8 at addr ffff88801a9d2438 (freed kmalloc-2k, offset 1080) Call Trace: rhashtablewalknext+0x365/0x3c0 (lib/rhashtable.c:1016) netlinkdiagdump+0x160/0x760 (net/netlink/diag.c:122) netlinkdiagdump+0xc2/0x240 netlinkdump+0x5bc/0x1270 netlinkrecvmsg+0x7a3/0x980 sockrecvmsg+0x1bc/0x200 sysrecvfrom+0x1d4/0x2c0

1 / 5
Source: MITRE
First published (updated )
Severity
4.8
AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

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

net: psample: fix info leak in PSAMPLEATTRDATA

psample open codes nlaput() presumably to avoid wiping the data with 0s just to override it with packet data. This open coding is missing clearing the pad, however, each netlink attr is padded to 4B and datalen may not be divisible by 4B.

1 / 3
Source: MITRE
First published (updated )
Severity
4.8
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

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

sctp: validate STALECOOKIE cause length before reading staleness

When an ERROR chunk with a STALECOOKIE cause is received in the COOKIEECHOED state, sctpsfdo526stale() reads the 4-byte Measure of Staleness that follows the cause header:

err = (struct sctperrhdr )(chunk->skb->data); stale = ntohl((be32 )((u8 )err + sizeof(err)));

err is the first cause in the chunk, not the STALECOOKIE cause that caused the dispatch, and nothing guarantees the staleness field is present. sctpwalkerrors() only requires a cause to be as long as the 4-byte header, so for a STALECOOKIE cause of length 4 the read runs past the cause, and for a minimal ERROR chunk past skb->tail. The value is echoed to the peer in the Cookie Preservative of the reply INIT, leaking uninitialized memory.

sctpsfcookieechoederr() already walks to the STALECOOKIE cause, so check its length there and pass it to sctpsfdo526stale(), which reads that cause instead of the first one. A STALECOOKIE cause too short to hold the staleness field is discarded.

The read is reachable by any peer that can drive an association into COOKIEECHOED, including an unprivileged process using a raw SCTP socket in a user and network namespace.

1 / 3
Source: MITRE
First published (updated )
Severity
6.9
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

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

net: qualcomm: rmnet: validate MAP frame length before ingress parsing

When ingress deaggregation is disabled, rmnetmapingresshandler() passes the skb straight to rmnetmapingresshandler(), skipping the length validation that rmnetmapdeaggregate() performs on the aggregated path. The parser then dereferences the MAP header and csum header/trailer based on the on-wire pktlen without checking skb->len, so a short frame is read out of bounds:

BUG: KASAN: slab-out-of-bounds in rmnetmapchecksumdownlinkpacket Read of size 1 at addr ffff88801118ed00 by task exploit/147 Call Trace: ... rmnetmapchecksumdownlinkpacket (drivers/net/ethernet/qualcomm/rmnet/rmnetmapdata.c:413) rmnetmapingresshandler (drivers/net/ethernet/qualcomm/rmnet/rmnethandlers.c:96) rmnetrxhandler (drivers/net/ethernet/qualcomm/rmnet/rmnethandlers.c:129) netifreceiveskbcore.constprop.0 (net/core/dev.c:6089) netifreceiveskb (net/core/dev.c:6460) tungetuser (drivers/net/tun.c:1955) tunchrwriteiter (drivers/net/tun.c:2001) vfswrite (fs/readwrite.c:688) ksyswrite (fs/readwrite.c:740) dosyscall64 (arch/x86/entry/syscall64.c:94) ...

Factor that validation out of rmnetmapdeaggregate() into rmnetmapvalidatepacketlen() and run it on the no-aggregation path too. The MAP header is bounds-checked first, since this path can receive a frame shorter than the header.

1 / 3
Source: MITRE
First published (updated )
Severity
5.2
AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

drm/edid: fix OOB read in drmparsetiledblock()

1 / 4
Source: Microsoft
First published (updated )
Severity
5.1
AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

net: usb: net1080: validate packetlen before pad-byte access in rxfixup

For an even packetlen, net1080rxfixup() reads the pad byte at skb->data[packetlen] before the skb->len != packetlen check further down, and packetlen is only bounded against NCMAXPACKET. A malicious NetChip 1080 device can send a short frame advertising a large even packetlen (e.g. 0x4000), so the pad-byte read lands past the end of the skb:

BUG: KASAN: slab-out-of-bounds in net1080rxfixup Read of size 1 at addr ffff8880106c83c6 by task ksoftirqd/0/14 ... net1080rxfixup (drivers/net/usb/net1080.c:384) usbnetbh (drivers/net/usb/usbnet.c:1589) processonework (kernel/workqueue.c:3322) bhworker (kernel/workqueue.c:3708) taskletaction (kernel/softirq.c:965) handlesoftirqs (kernel/softirq.c:622) ...

Reject the frame when packetlen >= skb->len before reading.

1 / 4
Source: MITRE
First published (updated )
Severity
5.6
Null Pointer Dereference
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

net, bpf: check master for NULL in xdpmasterredirect()

xdpmasterredirect() dereferences the result of netdevmasterupperdevgetrcu() without a NULL check, but that helper returns NULL when the receiving device has no upper-master adjacency.

The reach guard only checks netifisbondslave(). On bond slave release bondupperdevunlink() drops the upper-master adjacency before clearing IFFSLAVE, so an XDPTX reaching xdpmasterredirect() in that window still passes netifisbondslave() while master is already NULL, and faults on master->flags at offset 0xb0:

BUG: kernel NULL pointer dereference, address: 00000000000000b0 RIP: 0010:xdpmasterredirect (net/core/filter.c:4432) Call Trace: xdpmasterredirect (net/core/filter.c:4432) bpfprogrungenericxdp (include/net/xdp.h:700) doxdpgeneric (net/core/dev.c:5608) netifreceiveskbonecore (net/core/dev.c:6204) processbacklog (net/core/dev.c:6319) napipoll (net/core/dev.c:7729) netrxaction (net/core/dev.c:7792) handlesoftirqs (kernel/softirq.c:622) devqueuexmit (include/linux/bottomhalf.h:33) packetsendmsg (net/packet/afpacket.c:3082) syssendto (net/socket.c:2252) Kernel panic - not syncing: Fatal exception in interrupt

The missing check dates back to the original code; commit 1921f91298d1 ("net, bpf: fix null-ptr-deref in xdpmasterredirect() for down master") later added the master->flags read where the fault now lands but kept the unconditional deref. Check master for NULL before use; a NULL master is treated the same as one that is not up.

1 / 3
Source: MITRE
First published (updated )
Severity
5.7
Null Pointer Dereference
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

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

ipv6: ndisc: fix NULL deref in acceptuntrackedna()

acceptuntrackedna() re-fetches the inet6dev with in6devget(dev) and dereferences idev->cnf.acceptuntrackedna without a NULL check, even though its only caller ndiscrecvna() already fetched and NULL-checked idev for the same device.

Both reads of dev->ip6ptr run in the same RCU read-side critical section, but a concurrent addrconfifdown() can clear dev->ip6ptr between them: lowering the MTU below IPV6MINMTU calls addrconfifdown() without the synchronizenet() that orders the unregister path, so the re-fetch returns NULL and oopses:

BUG: KASAN: null-ptr-deref in ndiscrecvna (net/ipv6/ndisc.c:974) Read of size 4 at addr 0000000000000364 Call Trace: <IRQ> ndiscrecvna (net/ipv6/ndisc.c:974) icmpv6rcv (net/ipv6/icmp.c:1193) ip6protocoldeliverrcu (net/ipv6/ip6input.c:479) ip6inputfinish (net/ipv6/ip6input.c:534) ip6input (net/ipv6/ip6input.c:545) ip6mcinput (net/ipv6/ip6input.c:635) ipv6rcv (net/ipv6/ip6input.c:351) </IRQ>

It is reachable by an unprivileged user via a network namespace.

Pass the caller's already validated idev instead of re-fetching it; the idev stays alive for the whole RCU critical section, so it is safe even after dev->ip6ptr has been cleared.

1 / 4
Source: MITRE
First published (updated )
Severity
5.2
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

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

usbnet: gl620a: fix out-of-bounds read in genelinkrxfixup()

genelinkrxfixup() splits an aggregated RX frame into its individual packets, using a per-packet length taken from device-supplied data. That length is only bounded by GLMAXPACKETLEN (1514); it is never compared against how many bytes were actually received.

A malicious GeneLink (GL620A) device can therefore send a short URB whose header claims packetcount > 1 and a first packet of up to 1514 bytes.

skbputdata(glskb, packet->packetdata, size);

then copies past the end of the receive buffer and hands the adjacent slab contents up the network stack, an out-of-bounds read that leaks kernel heap. No privilege is required: the path runs in the usbnet RX softirq as soon as the interface is up.

BUG: KASAN: slab-out-of-bounds in genelinkrxfixup (drivers/net/usb/gl620a.c:112) Read of size 1514 at addr ffff888011309708 by task ksoftirqd/0/14 Call Trace: ... asanmemcpy (mm/kasan/shadow.c:105) genelinkrxfixup (include/linux/skbuff.h:2814 drivers/net/usb/gl620a.c:112) usbnetbh (drivers/net/usb/usbnet.c:572 drivers/net/usb/usbnet.c:1589) processonework (kernel/workqueue.c:3322) bhworker (kernel/workqueue.c:3405) taskletaction (kernel/softirq.c:965) handlesoftirqs (kernel/softirq.c:622) runksoftirqd (kernel/softirq.c:1076) ...

skbpull() already verifies that the requested length fits the buffer and returns NULL otherwise. Move it ahead of the copy and check its result, so a packet that overruns the received data is rejected before it is read. Well-formed frames, whose packets are fully present, are unaffected.

1 / 3
Source: MITRE
First published (updated )
Severity
5.7
Null Pointer Dereference
AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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

ipv6: Fix null-ptr-deref in fib6nhmtuchange().

fib6nhmtuchange() re-fetches idev via in6devget(arg->dev) and dereferences idev->cnf.mtu6 without a NULL check. addrconfifdown() clears dev->ip6ptr with RCUINITPOINTER() after rt6disableip() has released tb6lock, so the RA-driven MTU walk can observe a NULL idev and oops. The caller rt6mtuchangeroute() guards its own in6devget(), but this re-fetch is unguarded; nexthop-backed routes survive addrconfifdown()'s flush, so the walk still reaches it after ip6ptr is nulled.

Return 0 when idev is NULL, matching rt6mtuchangeroute() and the fib6mtu() fix in commit 5ad509c1fdad ("ipv6: Fix null-ptr-deref in fib6mtu().").

Oops: general protection fault, ... KASAN: null-ptr-deref in range [0x00000000000002a8-0x00000000000002af] RIP: 0010:fib6nhmtuchange+0x203/0x990 rt6mtuchangeroute+0x141/0x1d0 fib6cleanall+0xd0/0x160 rt6mtuchange+0xb4/0x100 ndiscrouterdiscovery+0x24b5/0x2cb0 icmpv6rcv+0x12e9/0x1710 ipv6rcv+0x39b/0x410

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