| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| In the Linux kernel, the following vulnerability has been resolved:
ublk: mark the batch fetch command cancelable before linking it
UBLK_U_IO_FETCH_IO_CMDS has the same order problem as the per-io
commands: ublk_batch_attach() links the fetch command into fcmd_head
and marks it cancelable only after dropping evts_lock. A cancel from
the control path (ublk_batch_cancel_queue()) can take it in between and
complete it, and the later mark puts a completed request on io_uring's
cancelable list.
Mark it before linking it. evts_lock orders the mark before the link,
which is where the cancel finds it.
Batch commands are not bounced to task work, so they can run from io-wq
without uring_lock, and io_uring's cancel walk can now find a fetch
command before it is linked. Two things make that safe:
- initialize fcmd->node: it came from kzalloc(), so list_empty() saw a
linked node and ublk_batch_cancel_cmd() would list_del_init() NULL
pointers
- on the -ENODEV path, complete the command with io_uring_cmd_done()
before freeing fcmd: that removes it from the cancelable list under
uring_lock, after which nothing can see fcmd
Also use data->cmd instead of fcmd->cmd after dropping evts_lock: once
fcmd is linked and not the active one, a control-path cancel may
complete and free it. |
| In the Linux kernel, the following vulnerability has been resolved:
ublk: keep a canceled FETCH round canceling until the server is gone
A cancel completes a fetched io command and sets io->cmd to NULL, but
the io still counts as ready. Only ubq->canceling stops ublk_queue_rq()
from using the NULL io->cmd. Two paths clear that flag too early:
partial FETCH round recovery, two queues
------------------- --------------------
task A: FETCH tags 0-2 q0 ready: q0->canceling = false
task A exits: q0 task exits:
start_cancel(): mark queues start_cancel(): ub->canceling
tags 0-2: io->cmd = NULL is still set -> q0 not marked
task B: FETCH tag 3 q0: io->cmd = NULL
queue ready: canceling = false q1 ready
START_DEV END_USER_RECOVERY
read -> ublk_queue_cmd(NULL) read on q0 -> ublk_queue_cmd(NULL)
A FETCH round runs from the open of /dev/ublkcN until
ublk_reset_ch_dev() resets the queues. A canceled command can't be
fetched again in the same round. So the ready check only needs one
fact: did this round see a cancel? ub->canceling already records it:
ublk_start_cancel() sets it under cancel_mutex before any command is
taken. It is only cleared too early, when all queues are ready.
Fix:
- clear ub->canceling only in ublk_reset_ch_dev()
- when a queue gets ready, clear ubq->canceling only if ub->canceling
is not set, and check it under cancel_mutex
The check and the marking are ordered by cancel_mutex:
check first: queue cleared -> start_cancel() marks it again
-> command taken
cancel first: check sees ub->canceling -> queue stays canceling
While ub->canceling is set, no queue clears its flag. So the "all
queues marked" shortcut in ublk_start_cancel() is correct again.
UBLK_F_BATCH_IO follows the same rule. It does not dispatch through
io->cmd, so it never hit the oops, but a round which lost a fetch
command is treated the same way: it has to start over. |
| In the Linux kernel, the following vulnerability has been resolved:
spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op
bcm_qspi_mspi_exec_mem_op() builds a local command buffer cmd[6]
holding one opcode byte, up to four address bytes and one spare
byte, and sets t[0].len = op->addr.nbytes + op->dummy.nbytes + 1.
bcm_qspi_exec_mem_op() only validates op->addr.nbytes <= 4 and never
bounds op->dummy.nbytes, which spi_mem_check_op() also leaves
unrestricted. With addr.nbytes = 4 and dummy.nbytes >= 2 the length
becomes 7 or more, so write_to_hw() reads past cmd[] on the kernel
stack and pushes the leaked bytes into the hardware TXRAM.
Reject operations whose dummy phase does not fit the remaining byte
of cmd[] by requiring op->dummy.nbytes <= 1, so such transfers fall
back to the generic SPI path instead of overrunning the buffer. |
| In the Linux kernel, the following vulnerability has been resolved:
iommupt: Do not allow PTEs to be split when dirty logging
If a single PTE cannot be stored in the current bitmap that should be a
failure and reported back to userspace. Allowing a PTE to be split creates
a possibility that dirty memory will be reported as clean.
The gather must also cover the entire PTE that is being cleaned, not just
the part that fits within the bitmap.
Fix both issues by computing the full IOVA range of every PTE and using
that to update the bitmap and the gather. The bitmap code now rejects
ranges that don't fit in it, and the gather always combined ranges.
The selftest quietly relied on a bug where the CONT was split, that is why
the half page size for the mock domain saw alternating dirties. Increase
the dirty test page size to PAGE_SIZE so it still works as intended. |
| In the Linux kernel, the following vulnerability has been resolved:
mfd: tps65217: Use devres for IRQ domain and wake teardown
Removing the parent device used to tear the IRQ domain down in
tps65217_remove() before the MFD children are unbound: the i2c core
only releases the parent's devres after the remove callback returns,
whereas devm_mfd_add_devices() registered its own devres action which
unbinds the children. Children that requested interrupts from the
domain (e.g. tps65217-charger) therefore call free_irq() on virtual
IRQs whose descriptors have already been disposed. With
CONFIG_SPARSE_IRQ free_irq() then returns early without stopping the
threaded handler, leaking the irqaction, the IRQ kthread and a module
reference.
Register the domain teardown as a devres action right after the domain
is created instead. Devres actions are released in reverse order of
registration, so the MFD children release their IRQs first, then the
parent interrupt is freed and its thread stopped, and only then is the
domain torn down. The same ordering covers probe failure, which no
longer needs manual cleanup, and the remove callback can be dropped
entirely.
Balance the enable_irq_wake() in tps65217_irq_init() by registering
disable_irq_wake() as a devres action as well. Only do so when
enabling actually succeeded, since the parent chip may not support
setting wake-up. |
| In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Turn vcpu->arch.pause into a counter
We have situations where we can call kvm_arm_halt_guest() without
holding config_lock, which means that halt and resume can overlap in
funny ways when called from separate contexts, and result in situations
where a vcpu is resumed while other parts of KVM assume it is halted.
Consequences are left to the imagination of the reader.
Fix this sorry situation by turning kvm_vcpu_arch::pause into an
atomic counter, which makes the races described above harmless. |
| In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()
When ntfs_read_mft() parses an ATTR_ROOT attribute it computes
root = Add2Ptr(attr, roff);
using the on-disk resident data offset (roff = attr->res.data_off) and
then dereferences root->type and root->rule, and later passes root on to
indx_init(). Unlike the ATTR_STD and ATTR_NAME cases, which validate that
the resident data is large enough (asize >= sizeof(struct X) + roff and
rsize >= sizeof(struct X)) before accessing it, the ATTR_ROOT case has no
such check.
mi_enum_attr() only guarantees data_off + data_size <= attribute size, so
a crafted image can set data_off such that root lands at (or past) the end
of the MFT record's slab allocation while still passing that check (e.g.
data_size == 0). The subsequent read of root->type is then a
slab-out-of-bounds read, reported by KASAN when mounting the image:
BUG: KASAN: slab-out-of-bounds in ntfs_iget5 (fs/ntfs3/inode.c:283)
Read of size 4 at addr ffff88800c06a400 by task exploit/142
Call Trace:
... [KASAN report internals]
ntfs_iget5 (fs/ntfs3/inode.c:283 fs/ntfs3/inode.c:542)
ntfs_fill_super (fs/ntfs3/super.c:1690)
get_tree_bdev_flags (fs/super.c:1634)
vfs_get_tree (fs/super.c:1694)
fc_mount (fs/namespace.c:1198)
path_mount (fs/namespace.c:3765 ...)
__x64_sys_mount (fs/namespace.c:4174 ...)
do_syscall_64 (arch/x86/entry/syscall_64.c:63)
entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
The buggy address is located 0 bytes to the right of
allocated 1024-byte region [ffff88800c06a000, ffff88800c06a400)
which belongs to the cache kmalloc-1k of size 1024
Validate the resident data size in the ATTR_ROOT case the same way the
neighbouring cases do, so that a truncated or mis-offset INDEX_ROOT is
rejected before root is dereferenced. |
| In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file
attr_wof_frame_info() allocates, caches and dereferences
ni->file.offs_folio under down_write(&ni->file.run_lock).
ni_decompress_file() frees the same folio with folio_put() without
taking run_lock. When a WOF externally-compressed file is opened for
write, ni_decompress_file() can drop the last reference while a
concurrent O_RDONLY reader is dereferencing the folio in
attr_wof_frame_info(), leading to a use-after-free:
BUG: KASAN: use-after-free in attr_wof_frame_info (fs/ntfs3/attrib.c:1619)
Read of size 4 at addr ffff8880120c9000 by task exploit
Call Trace:
attr_wof_frame_info (fs/ntfs3/attrib.c:1619)
ni_read_frame (fs/ntfs3/frecord.c:2421)
ni_read_folio_cmpr (fs/ntfs3/frecord.c:1916)
ntfs_read_folio (fs/ntfs3/inode.c:648)
read_pages (mm/readahead.c:181)
page_cache_ra_unbounded (mm/readahead.c:292)
force_page_cache_ra (mm/readahead.c:364)
page_cache_sync_ra (mm/readahead.c:573)
filemap_get_pages (mm/filemap.c:2688)
filemap_read (mm/filemap.c:2806)
generic_file_read_iter (mm/filemap.c:2994)
ntfs_file_read_iter (fs/ntfs3/file.c:842)
vfs_read (fs/read_write.c:574)
__x64_sys_pread64 (fs/read_write.c:773)
Take run_lock around the folio_put(), as is done for every other
access to ni->file.offs_folio. |
| The affected products contain a memory leak in the packet processing of the network stack. An unauthenticated remote attacker can send specially crafted UDP packets to exhaust available packet buffers. Successful exploitation results in a denial-of-service condition in which the affected device no longer processes any network traffic. |
| Missing Authorization vulnerability in Bold Grid weForms weforms allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects weForms: from n/a through 1.6.29. |
| A security vulnerability has been detected in himalsimkhada webui 0.1.0. This issue affects the function api_logout of the file app.py. Such manipulation leads to improper session invalidation after user logout. The attack can be launched remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way. |
| Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Black Duck Cloud Native Coverity (CNC) allows an authenticated user to read arbitrary data from the application database via the user and group listing sort parameter (the SOAP sortField element on the configuration web service, and the REST sortColumn parameter on /api/v2/users and /api/v2/groups), which is evaluated as a JPQL expression.
CNC uses a managed PostgreSQL database in which the application role is not a superuser and cannot access the host filesystem, so the impact is limited to disclosure of database contents (including credential hashes); remote code execution is not reachable.
The read capability is complete (any database content is reachable), but data is returned through a rate-limited, chunked error-oracle (an integer-cast error that reflects roughly one value per request), so bulk extraction is slow and generates a high volume of database errors that make it readily detectable; targeted reads of a specific value are inexpensive.
In the default configuration the affected operations require an administrative role (Manage users and groups); enabling the legacy SOAP web services (the unsupported.ws.oldversions.enable setting) exposes the same injection to any authenticated user. |
| Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Black Duck Coverity Connect allows an authenticated user to execute arbitrary SQL, and on a default installation to achieve remote code execution, via the user and group listing sort parameter (the SOAP sortField element on the configuration web service, and the REST sortColumn parameter on /api/v2/users and /api/v2/groups), which is evaluated as a JPQL expression.
On a default installation the embedded PostgreSQL database role is a superuser, so the injection can read and write files on the host and run code as the service account.
In the default configuration the affected operations require an administrative role (Manage users and groups); enabling the legacy SOAP web services (the unsupported.ws.oldversions.enable setting) exposes the same injection to any authenticated user. |
| Pillow before 13.1.0 contains an integer overflow in the ImageMath integer divide and modulo operators (DIV_I and MOD_I in src/_imagingmath.c), which guard only against a zero divisor, so dividing INT32_MIN by -1 raises a hardware divide exception. Attackers can supply a crafted TIFF that decodes to a mode I image containing INT32_MIN, crashing applications that run an ImageMath divide or modulo with a -1 operand on it. |
| free5GC PCF through 1.4.6 contains a resource leak in HandleCreateSmPolicyRequest that leaves SM policy entries in memory when UDR token retrieval fails. Attackers sending repeated Npcf_SMPolicyControl create requests during an NRF outage can accumulate undeletable policy entries, growing PCF memory until restart. |
| Armatiek XSLWeb through 4.2.0 contains a path traversal vulnerability in the unzip XPath extension function that allows attackers to write files outside the extraction directory via crafted archive entries. Attackers can supply archives with ../ sequences or absolute paths processed by ZipUtils.unzipStream() to overwrite XSLT stylesheets in webapp directories, leading to remote code execution. |
| Jivejdon through 5.0 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject script by saving unsanitized profile properties via /account/protected/accountProfileSave. Attackers can store malicious property values rendered unencoded by profileView.jsp and blog/header.jsp to execute script in browsers of users and administrators viewing their profile. |
| Jivejdon through 5.0 contains an IP spoofing vulnerability in IPForwardingFilter that allows unauthenticated attackers to forge client addresses via untrusted X-Forwarded-For headers. Attackers can send arbitrary X-Forwarded-For values to evade IP bans, bypass throttles in RegisterCodeAction and UploadShowAction, and repeat votes in MessageDigAction. |
| MonitoRSS before 7.5.1 contains an authorization bypass vulnerability in the clone-connection endpoint that allows authenticated users to modify other users' feeds by supplying arbitrary target feed IDs. Attackers who know a victim feed's ObjectId can append a connection to their own Discord channel or webhook, receiving the victim's feed articles and bypassing connection limits. |
| Axios 1.7.6 before 1.21.0 contains a prototype pollution gadget in the fetch adapter signal cleanup in lib/helpers/composeSignals.js that allows attackers to crash Node.js processes. Attackers who pollute Object.prototype.unsubscribe with a non-callable value trigger an uncaught TypeError during AbortSignal cleanup, terminating the process when no uncaughtException handler exists. |