| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| In the Linux kernel, the following vulnerability has been resolved:
w1: ds2805: use the bus mutex to talk on the bus
Since commit b02f8bede217 ("W1: split master mutex to avoid deadlocks.")
the slave drivers serialise their accesses to the bus with bus_mutex.
This driver takes the mutex of the master in the callbacks of its eeprom
file instead.
That mutex is held while a slave which has disappeared from the bus is
removed, which waits for the sysfs callbacks of the slave to return. A
callback which is waiting for the mutex at that moment never does: both
tasks are stuck, and with them the thread of the bus master.
Besides, it does not keep the other slave drivers off the bus, so that two
transactions can get mixed up on the wire. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: gadget: Track a timed out End Transfer
If an End Transfer command with CMDIOC times out, the driver clears the
resource index but keeps DWC3_EP_TRANSFER_STARTED without setting
DWC3_EP_END_TRANSFER_PENDING. The command is still outstanding, but a
later stop issues another End Transfer with resource index 0, and the
next Start Transfer fails with "No Resource".
Mark the timed out End Transfer as pending so that no other command is
issued to the endpoint until it completes. For any other failure, there
is no outstanding command, so clear DWC3_EP_TRANSFER_STARTED. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: gadget: Reject requests to a disabled endpoint
__dwc3_gadget_ep_disable() releases the lock while giving back requests,
and DWC3_EP_ENABLED is only cleared afterward. A function driver can
queue a new request in this window, and the driver would start a
transfer on an endpoint that is already disabled in hardware.
Clear DWC3_EP_ENABLED before giving back the requests, and reject
requests queued to an endpoint that is not enabled. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: u_serial: pin ports while TTYs are installed
A slab-use-after-free can occur when gserial_free_line() frees struct
gs_port while it is still reachable through an installed TTY. The
port->port.count value tracks successful opens, but it is zero before
gs_open() and again after gs_close(), before TTY cleanup has finished.
Teardown can therefore free gs_port while tty_init_dev() or release_tty()
still accesses its tty_port.
Manage gs_port lifetime with tty_port references. Take a reference in
gs_install(), drop it in gs_cleanup(), and move the final free to
gs_port_destruct(). Unregister the TTY device before dropping the owner
reference.
Keep each minor reserved until the old port is destroyed so an installed
TTY for one generation cannot overlap a replacement at the same minor.
Publish the new port before device registration so the cdev and add uevent
never expose a TTY before gs_install() can pin it. Since commit
8df07fe93573 ("tty: fix saved termios reset race"), u_serial registration
no longer frees saved termios. On registration failure, unpublish the port
before dropping its owner reference.
Check in gs_open() that the installed port is still the published
generation. Track failures after a successful install so close callbacks
issued by the TTY core do not decrement port->port.count for opens that
never incremented it. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: u_serial: fix NULL deref in gs_close() after failed open
gs_close() opens with
struct gs_port *port = tty->driver_data;
...
spin_lock_irq(&port->port_lock);
and never checks port. gs_open() assigns tty->driver_data only on the
port.count 0 -> 1 edge, so any failure earlier in gs_open() leaves it NULL,
and tty_open() calls tty_release(), and hence ->close(), when ->open()
fails.
syzbot hit exactly this on arm64. Fault injection failed the kfifo_alloc()
of the write buffer in gs_open():
__kfifo_alloc_node+0x10c/0x208 lib/kfifo.c:44
gs_open+0x144/0x514 drivers/usb/gadget/function/u_serial.c:636
tty_open+0x404/0x89c drivers/tty/tty_io.c:2137
and the tty core's close of the failed open then took port_lock through
the NULL port:
BUG: unable to handle kernel paging request in gs_close
KASAN: null-ptr-deref in range [0x00000000000003a0-0x00000000000003a7]
Call trace:
spin_lock_irq include/linux/spinlock.h:372 [inline]
gs_close+0xac/0x65c drivers/usb/gadget/function/u_serial.c:698
tty_release+0x2c4/0xffc drivers/tty/tty_io.c:1745
tty_open+0x46c/0x89c drivers/tty/tty_io.c:2146
Return early instead. There is nothing to release when the open never got
far enough to claim the port.
Unlike the check reverted by commit f6c7bc4a6823 ("Revert "usb: gadget:
u_serial: Add null pointer check in gs_start_io""), this is not hiding a
race: the tty core calls ->close() for an ->open() that failed by design,
so driver_data is legitimately unset on that path. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_mass_storage: take filesem in nofua store to fix backing-file UAF
fsg_store_nofua() syncs the LUN's backing file when switching from async
to sync mode:
if (!nofua && curlun->nofua)
fsg_lun_fsync_sub(curlun);
fsg_lun_fsync_sub() dereferences curlun->filp (vfs_fsync(filp)). Unlike
every other store that touches the backing file -- fsg_store_ro() and
fsg_store_cdrom() (down_read), fsg_store_file() (down_write) --
fsg_store_nofua() holds no filesem while doing so.
A concurrent close of the backing file runs under down_write(filesem) and
does fput(curlun->filp) in fsg_lun_close() (fsg_store_file() with an empty
path, the SCSI START_STOP eject in do_start_stop(), or forced_eject), so
it can free the file while fsg_store_nofua() is dereferencing it:
BUG: KASAN: slab-use-after-free in vfs_fsync+0x20/0xe0
vfs_fsync+0x20/0xe0
fsg_lun_fsync_sub+0xa0/0xd0
fsg_store_nofua+0x138/0x160
configfs_write_iter+0x1a7/0x250
vfs_write+0x5df/0x940
Allocated by task 3459:
fsg_store_file+0x150/0x1f0
configfs_write_iter+0x1a7/0x250
Freed by task 3459:
__fput+0x456/0x6c0
__fput_deferred+0x10d/0x330
fsg_store_file+0x9e/0x1f0
configfs_write_iter+0x1a7/0x250
Hold filesem for read around the fsync in fsg_store_nofua() so the backing
file cannot be closed underneath it. The lock is only needed when the
fsync actually runs, so it is taken only in that branch.
Reproduced on a mass_storage gadget over dummy_hcd by writing lun.N/nofua
(1 then 0) from one task while another task rewrites and clears lun.N/file. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: xhci: disable the correct slot on alloc_dev failure
xhci_alloc_dev() stores the Slot ID returned by the Enable Slot command
in the local slot_id variable. udev->slot_id is updated only after
xhci_alloc_virt_device() succeeds.
If endpoint resource reservation or virtual device allocation fails
before that update, the error path passes udev->slot_id to
xhci_disable_and_free_slot(). During initial enumeration this is slot 0.
When reallocating a device whose virtual device is missing or belongs to
another usb_device, udev->slot_id may contain a stale Slot ID.
The newly enabled slot can therefore remain active, or the wrong slot can
be disabled.
Pass slot_id, which identifies the slot enabled by this invocation.
xhci_disable_and_free_slot() already handles a missing xhci->devs entry. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: Set ucsi->connector before enabling notifications
In ucsi_init(), ucsi->connector is assigned only after the
UCSI_SET_NOTIFICATION_ENABLE command completes. But once that command
is sent, the PPM is free to raise a connector change notification at
any time, which is handled through:
ucsi_notify_common() -> ucsi_connector_change()
ucsi_connector_change() indexes into ucsi->connector to get the
connector and schedule its work item. If this notification arrives
before ucsi_init() reaches the "ucsi->connector = connector;" line,
ucsi->connector is still NULL and the driver crashes dereferencing it.
Fix this by setting ucsi->connector right after the connectors are
registered, before notifications are enabled, so it is always valid
by the time a connector change event can be delivered. Also clear
ucsi->connector in the err_unregister path so it isn't left pointing
at freed memory if a later step in ucsi_init() fails. |
| In the Linux kernel, the following vulnerability has been resolved:
usb: usbtest: prevent divide by zero in simple_io() with zero length
A divide error oops was observed in simple_io():
usbtest 1-1:1.0: TEST 3: write/1 0..0 bytes 16307 times
Oops: divide error: 0000 [#1] SMP KASAN
RIP: 0010:simple_io+0x2c4/0x540 drivers/usb/misc/usbtest.c:497
The variable-length tests (test 3 and test 4) compute the next URB
size with "len %= max", where max is the original
urb->transfer_buffer_length. However, when a zero-length transfer is
requested (param->length == 0), simple_alloc_urb() still returns a valid
URB with transfer_buffer_length set to 0. On the first vary update,
"len %= max" divides by zero and the kernel oopses.
Commit 564e69893c63 ("USB: usbtest: prevent a divide by zero bug") added
the equivalent zero check to alloc_sglist(), which covers the
scatterlist tests (test 7/8), but the single-URB variable-length path in
simple_io() was left unprotected.
Fix this by returning -EINVAL early from simple_io() when vary is
requested but max is zero, so the divide by zero never occurs.
Zero-length transfers without vary remain valid for the other callers of
simple_io(). |
| Supabase Studio before commit 0433eeb5f5cc (supabase/studio Docker image before 2026.06.01-sha-a4334a2) contains an SQL injection vulnerability in filterLiteral() in packages/pg-meta/src/query/Query.utils.ts, which inserted any filter value that began with "ARRAY[" and ended with "]" into generated SQL without quoting it. The Table Editor builds its row queries from filter parameters in the page URL (filter=column:operator:value), so attackers can craft a Table Editor link whose filter value carries arbitrary SQL. When a project member opens the link, Studio runs that SQL against the project database with the privileges Studio uses for the Table Editor, allowing the attacker to read, modify or delete data. |
| NervJS taro-css-to-react-native through 4.3.3 contains a prototype pollution vulnerability that allows attackers to modify Object.prototype by supplying a .__proto__ class selector to transform. Attackers can submit crafted CSS, also via the @media branch, to set properties like isAdmin process-wide, altering application logic or crashing Node.js by shadowing toString. |
| Jazzband tablib through 3.11.0 contains a TeX injection vulnerability that allows attackers to inject TeX commands by supplying unescaped Dataset titles inserted into the LaTeX export caption. Attackers can embed control sequences like \input in JSON/YAML sheet titles or ODS/XLS sheet names to read local files when compiled, or execute commands if shell escape is enabled. |
| Fabric.js through 7.4.0 contains a cross-site scripting vulnerability that allows attackers to inject markup into exported SVG by supplying crafted canvas JSON with string width and height values. Attackers can close the unescaped width, height, or viewBox attributes written by toSVG() and inject onload handlers or script elements that execute when users view the SVG. |
| validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade host_whitelist and host_blacklist checks by inserting a backslash before an '@' in the authority. Attackers can supply URLs that isURL() parses as an allowed host while WHATWG-conformant parsers resolve them to an attacker-chosen host, enabling open redirects and outbound fetch allowlist bypasses. |
| LangBot through 4.11.9 contains a symlink following vulnerability in MCP stdio workspace staging that allows sandboxed code to delete or overwrite host files outside the Box sandbox. Code running in the sandbox can replace .mcp, process, or workspace path components with symlinks so the host's rmtree and copytree operations clobber arbitrary host paths with LangBot service privileges. |
| adm-zip through 0.6.1 contains a denial of service vulnerability that allows remote attackers to crash Node.js processes by supplying ZIP archives with malformed STORED or unknown-method entries. The decompress() function in zipEntry.js throws BAD_CRC or UNKNOWN_METHOD errors outside any try/catch during extractAllToAsync(), terminating the process and interrupting in-flight requests. |
| PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to reach internal addresses because writers re-fetch external drawing URLs with file_get_contents() following redirects. Attackers can supply a spreadsheet whose image host serves a valid image to the reader and then redirects the writer's fetch to internal endpoints, leaking response data in generated xlsx, ods, xls or html files. |
| Mealie 3.22.0 through 3.32.0 contains a server-side request forgery vulnerability that allows authenticated users to bypass safehttp address validation by triggering FlareSolverr escalation during recipe URL import. Attackers can serve a bot challenge or non-recipe page that redirects, navigates, or DNS-rebinds the FlareSolverr browser to internal addresses, reading responses back through imported recipe content. |
| Tandoor Recipes before 2.7.3 contains an authorization bypass vulnerability that allows authenticated space owners to modify AI providers of other spaces via the nested ai_default_provider field in /api/space/{id}/. Attackers can submit a PUT or PATCH with another provider's id to change its model name, API key, and URL, redirecting other spaces' AI requests or breaking global providers. |
| Squidex through 7.24.0 contains an improper authorization vulnerability that allows authenticated users to capture contributor invitations by changing their profile email without verification. Attackers can set their email via POST /account/profile/update to a colleague's unregistered address, receiving that colleague's app or team contributor role and blocking their registration. |