CVE-2022-49522
published 2025-02-26CVE-2022-49522: In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740: Apply DMA engine limits to maximum segment size Do what is done in other…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.3th percentile
In the Linux kernel, the following vulnerability has been resolved:
mmc: jz4740: Apply DMA engine limits to maximum segment size
Do what is done in other DMA-enabled MMC host drivers (cf. host/mmci.c) and
limit the maximum segment size based on the DMA engine's capabilities. This
is needed to avoid warnings like the following with CONFIG_DMA_API_DEBUG=y.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 21 at kernel/dma/debug.c:1162 debug_dma_map_sg+0x2f4/0x39c
DMA-API: jz4780-dma 13420000.dma-controller: mapping sg segment longer than device claims to support [len=98304] [max=65536]
CPU: 0 PID: 21 Comm: kworker/0:1H Not tainted 5.18.0-rc1 #19
Workqueue: kblockd blk_mq_run_work_fn
Stack : 81575aec 00000004 80620000 80620000 80620000 805e7358 00000009 801537ac
814c832c 806276e3 806e34b4 80620000 81575aec 00000001 81575ab8 09291444
00000000 00000000 805e7358 81575958 ffffffea 8157596c 00000000 636f6c62
6220646b 80387a70 0000000f 6d5f6b6c 80620000 00000000 81575ba4 00000009
805e170c 80896640 00000001 00010000 00000000 00000000 00006098 806e0000
...
Call Trace:
[] show_stack+0x84/0x120
[] __warn+0xb8/0xec
[] warn_slowpath_fmt+0x6c/0xb8
[] debug_dma_map_sg+0x2f4/0x39c
[] __dma_map_sg_attrs+0xf0/0x118
[] dma_map_sg_attrs+0x14/0x28
[] jz4740_mmc_prepare_dma_data+0x74/0xa4
[] jz4740_mmc_pre_request+0x30/0x54
[] mmc_blk_mq_issue_rq+0x6e0/0x7bc
[] mmc_mq_queue_rq+0x220/0x2d4
[] blk_mq_dispatch_rq_list+0x480/0x664
[] blk_mq_do_dispatch_sched+0x2dc/0x370
[] __blk_mq_sched_dispatch_requests+0xec/0x164
[] blk_mq_sched_dispatch_requests+0x44/0x94
[] __blk_mq_run_hw_queue+0xb0/0xcc
[] process_one_work+0x1b8/0x264
[] worker_thread+0x2ec/0x3b8
[] kthread+0x104/0x10c
[] ret_from_kernel_thread+0x14/0x1c
---[ end trace 0000000000000000 ]---
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 7ca27a6f80a4042666a28977ff8ee3aa527c6cd4 < 7923f95997a79cef2ad161a2facae64c25a0bca0 | 7923f95997a79cef2ad161a2facae64c25a0bca0 |
| linux | linux | >= 7ca27a6f80a4042666a28977ff8ee3aa527c6cd4 < 90281cadf5077f2d2bec8b08c2ead1f8cd12660e | 90281cadf5077f2d2bec8b08c2ead1f8cd12660e |
| linux | linux | >= 7ca27a6f80a4042666a28977ff8ee3aa527c6cd4 < 353298cadbd4c7d8e8a16d6000066414694933c3 | 353298cadbd4c7d8e8a16d6000066414694933c3 |
| linux | linux | >= 7ca27a6f80a4042666a28977ff8ee3aa527c6cd4 < 807f90f1960a59dc557542b818c484a8db9ac978 | 807f90f1960a59dc557542b818c484a8db9ac978 |
| linux | linux | >= 7ca27a6f80a4042666a28977ff8ee3aa527c6cd4 < a828920b9ec0d89d3011198d482b7fe224d2de19 | a828920b9ec0d89d3011198d482b7fe224d2de19 |
| linux | linux | >= 7ca27a6f80a4042666a28977ff8ee3aa527c6cd4 < afadb04f1d6e74b18a253403f5274cde5e3fd7bd | afadb04f1d6e74b18a253403f5274cde5e3fd7bd |
| linux | linux_kernel | < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 5.11 < 5.15.46 | 5.15.46 |
| linux | linux_kernel | >= 5.16 < 5.17.14 | 5.17.14 |
| linux | linux_kernel | >= 5.18 < 5.18.3 | 5.18.3 |
| linux | linux_kernel | >= 5.5 < 5.10.121 | 5.10.121 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: mmc: jz4740: Apply DMA engine limits to maximum segment size
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49522 [MEDIUM] kernel: mmc: jz4740: Apply DMA engine limits to maximum segment size
kernel: mmc: jz4740: Apply DMA engine limits to maximum segment size
In the Linux kernel, the following vulnerability has been resolved:
mmc: jz4740: Apply DMA engine limits to maximum segment size
Do what is done in other DMA-enabled MMC host drivers (cf. host/mmci.c) and
limit the maximum segment size based on the DMA engine's capabilities. This
is needed to avoid warnings like the following with CONFIG_DMA_API_DEBUG=y.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 21 at kernel/dma/debug.c:1162 debug_dma_map_sg+0x2f4/0x39c
DMA-API: jz4780-dma 13420000.dma-controller: mapping sg segment longer than device claims to support [len=98304] [max=65536]
CPU: 0 PID: 21 Comm: kworker/0:1H Not tainted 5.18.0-rc1 #19
Workqueue: kblockd blk_mq_run_work_fn
Stack : 81575aec 00000004 806200
Debian
CVE-2022-49522: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740...
vendor_debian·2022·CVSS 5.5
CVE-2022-49522 [MEDIUM] CVE-2022-49522: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740...
In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740: Apply DMA engine limits to maximum segment size Do what is done in other DMA-enabled MMC host drivers (cf. host/mmci.c) and limit the maximum segment size based on the DMA engine's capabilities. This is needed to avoid warnings like the following with CONFIG_DMA_API_DEBUG=y. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 21 at kernel/dma/debug.c:1162 debug_dma_map_sg+0x2f4/0x39c DMA-API: jz4780-dma 13420000.dma-controller: mapping sg segment longer than device claims to support [len=98304] [max=65536] CPU: 0 PID: 21 Comm: kworker/0:1H Not tainted 5.18.0-rc1 #19 Workqueue: kblockd blk_mq_run_work_fn Stack : 81575aec 00000004 80620000 80620000 80620000 805e7358 00000009 801537ac 814c832c 806276e3 806e
GHSA
GHSA-gqc7-5rv7-5pv6: In the Linux kernel, the following vulnerability has been resolved:
mmc: jz4740: Apply DMA engine limits to maximum segment size
Do what is done in
ghsa_unreviewed·2025-10-21
CVE-2022-49522 [MEDIUM] GHSA-gqc7-5rv7-5pv6: In the Linux kernel, the following vulnerability has been resolved:
mmc: jz4740: Apply DMA engine limits to maximum segment size
Do what is done in
In the Linux kernel, the following vulnerability has been resolved:
mmc: jz4740: Apply DMA engine limits to maximum segment size
Do what is done in other DMA-enabled MMC host drivers (cf. host/mmci.c) and
limit the maximum segment size based on the DMA engine's capabilities. This
is needed to avoid warnings like the following with CONFIG_DMA_API_DEBUG=y.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 21 at kernel/dma/debug.c:1162 debug_dma_map_sg+0x2f4/0x39c
DMA-API: jz4780-dma 13420000.dma-controller: mapping sg segment longer than device claims to support [len=98304] [max=65536]
CPU: 0 PID: 21 Comm: kworker/0:1H Not tainted 5.18.0-rc1 #19
Workqueue: kblockd blk_mq_run_work_fn
Stack : 81575aec 00000004 80620000 80620000 80620000 805e7358 00000009 801537ac
814c832c 806276e3 8
OSV
CVE-2022-49522: In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740: Apply DMA engine limits to maximum segment size Do what is done in ot
osv·2025-02-26·CVSS 5.5
CVE-2022-49522 [MEDIUM] CVE-2022-49522: In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740: Apply DMA engine limits to maximum segment size Do what is done in ot
In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740: Apply DMA engine limits to maximum segment size Do what is done in other DMA-enabled MMC host drivers (cf. host/mmci.c) and limit the maximum segment size based on the DMA engine's capabilities. This is needed to avoid warnings like the following with CONFIG_DMA_API_DEBUG=y. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 21 at kernel/dma/debug.c:1162 debug_dma_map_sg+0x2f4/0x39c DMA-API: jz4780-dma 13420000.dma-controller: mapping sg segment longer than device claims to support [len=98304] [max=65536] CPU: 0 PID: 21 Comm: kworker/0:1H Not tainted 5.18.0-rc1 #19 Workqueue: kblockd blk_mq_run_work_fn Stack : 81575aec 00000004 80620000 80620000 80620000 805e7358 00000009 801537ac 814c832c 806276e3 806e
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/353298cadbd4c7d8e8a16d6000066414694933c3https://git.kernel.org/stable/c/7923f95997a79cef2ad161a2facae64c25a0bca0https://git.kernel.org/stable/c/807f90f1960a59dc557542b818c484a8db9ac978https://git.kernel.org/stable/c/90281cadf5077f2d2bec8b08c2ead1f8cd12660ehttps://git.kernel.org/stable/c/a828920b9ec0d89d3011198d482b7fe224d2de19https://git.kernel.org/stable/c/afadb04f1d6e74b18a253403f5274cde5e3fd7bd
2025-02-26
Published