{"id":"DEBIAN-CVE-2023-52582","details":"In the Linux kernel, the following vulnerability has been resolved:  netfs: Only call folio_start_fscache() one time for each folio  If a network filesystem using netfs implements a clamp_length() function, it can set subrequest lengths smaller than a page size.  When we loop through the folios in netfs_rreq_unlock_folios() to set any folios to be written back, we need to make sure we only call folio_start_fscache() once for each folio.  Otherwise, this simple testcase:    mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs   dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count=1   1+0 records in   1+0 records out   4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0126359 s, 324 kB/s   echo 3 \u003e /proc/sys/vm/drop_caches   cat /mnt/nfs/file.bin \u003e /dev/null  will trigger an oops similar to the following:    page dumped because: VM_BUG_ON_FOLIO(folio_test_private_2(folio))   ------------[ cut here ]------------   kernel BUG at include/linux/netfs.h:44!   ...   CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: loaded Not tainted 6.4.0-rc5   ...   RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs]   ...   Call Trace:     netfs_rreq_assess+0x497/0x660 [netfs]     netfs_subreq_terminated+0x32b/0x610 [netfs]     nfs_netfs_read_completion+0x14e/0x1a0 [nfs]     nfs_read_completion+0x2f9/0x330 [nfs]     rpc_free_task+0x72/0xa0 [sunrpc]     rpc_async_release+0x46/0x70 [sunrpc]     process_one_work+0x3bd/0x710     worker_thread+0x89/0x610     kthread+0x181/0x1c0     ret_from_fork+0x29/0x50","modified":"2026-09-15T09:02:36.893777419Z","published":"2024-03-02T22:15:49.770Z","upstream":["CVE-2023-52582"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-52582"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.64-1"}]}],"versions":["6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-52582.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.5.6-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-52582.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.5.6-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-52582.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}