VDB

CVE-2022-49747

CVE-2022-49747 PUBLISHED

erofs/zmap.c: Fix incorrect offset calculation

Reported by linux · Published March 27, 2025

In the Linux kernel, the following vulnerability has been resolved: erofs/zmap.c: Fix incorrect offset calculation Effective offset to add to length was being incorrectly calculated, which resulted in iomap->length being set to 0, triggering a WARN_ON in iomap_iter_done(). Fix that, and describe it in comments. This was reported as a crash by syzbot under an issue about a warning encountered in iomap_iter_done(), but unrelated to erofs. C reproducer: https://syzkaller.appspot.com/text?tag=ReproC&x=1037a6b2880000 Kernel config: https://syzkaller.appspot.com/text?tag=KernelConfig&x=e2021a61197ebe02 Dashboard link: https://syzkaller.appspot.com/bug?extid=a8e049cd3abd342936b6

EPSS 0.19% · 8.8th percentile

Risk scores

EPSS Score
0.19%
8.8th percentile

Affected products

VendorProductVersions
LinuxLinuxeadcd6b5a1eb39866ab8d8a3e4f2e51bc51a2350, eadcd6b5a1eb39866ab8d8a3e4f2e51bc51a2350, eadcd6b5a1eb39866ab8d8a3e4f2e51bc51a2350
LinuxLinux5.15, 0, 5.15.92
linuxlinux_kernel5.15, 5.15, 5.15
LinuxLinux*, *, *

Timeline

  • Mar 27, 2025 CVE Published
  • Mar 28, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • May 23, 2026 Coalition ESS Score
  • Jun 2, 2026 Security Advisory (128 in total, the first dated here)
  • Sep 5, 2026 Distribution Patch (120 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-49747
vulnetix vdb fixes CVE-2022-49747

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-49747/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›