{"id":"CVE-2026-43359","state":"PUBLISHED","title":"btrfs: fix transaction abort on set received ioctl due to item overflow","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix transaction abort on set received ioctl due to item overflow\n\nIf the set received ioctl fails due to an item overflow when attempting to\nadd the BTRFS_UUID_KEY_RECEIVED_SUBVOL we have to abort the transaction\nsince we did some metadata updates before.\n\nThis means that if a user calls this ioctl with the same received UUID\nfield for a lot of subvolumes, we will hit the overflow, trigger the\ntransaction abort and turn the filesystem into RO mode. A malicious user\ncould exploit this, and this ioctl does not even requires that a user\nhas admin privileges (CAP_SYS_ADMIN), only that he/she owns the subvolume.\n\nFix this by doing an early check for item overflow before starting a\ntransaction. This is also race safe because we are holding the subvol_sem\nsemaphore in exclusive (write) mode.\n\nA test case for fstests will follow soon.","publishedAt":"2026-05-08T14:21:14.357Z","updatedAt":"2026-05-11T22:23:03.390Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"b9914db13ac15aca3b74544c0bb1a2e0dad1f174","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"b19c0465e4daad5aa8f60552ea0578cf31a11b1e","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"2e57b8cac2ba0d38aac76c1ecdfd8b899e3581a5","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"d11aefe654a04fc41996d254748d6a38b6b0a7be","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"41fb97353ff58fa4f31904c343fc8e3df2f7517d","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"87f2c46003fce4d739138aab4af1942b1afdadac","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/ioctl.c","fs/btrfs/uuid-tree.c","fs/btrfs/uuid-tree.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"6.1.167","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.130","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/ioctl.c","fs/btrfs/uuid-tree.c","fs/btrfs/uuid-tree.h"]}],"references":["https://git.kernel.org/stable/c/b9914db13ac15aca3b74544c0bb1a2e0dad1f174","https://git.kernel.org/stable/c/b19c0465e4daad5aa8f60552ea0578cf31a11b1e","https://git.kernel.org/stable/c/2e57b8cac2ba0d38aac76c1ecdfd8b899e3581a5","https://git.kernel.org/stable/c/d11aefe654a04fc41996d254748d6a38b6b0a7be","https://git.kernel.org/stable/c/41fb97353ff58fa4f31904c343fc8e3df2f7517d","https://git.kernel.org/stable/c/87f2c46003fce4d739138aab4af1942b1afdadac"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43359.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43359","state":"PUBLISHED","datePublished":"2026-05-08T14:21:14.357Z","dateUpdated":"2026-05-11T22:23:03.390Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.005Z"},"containers":{"cna":{"title":"btrfs: fix transaction abort on set received ioctl due to item overflow","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix transaction abort on set received ioctl due to item overflow\n\nIf the set received ioctl fails due to an item overflow when attempting to\nadd the BTRFS_UUID_KEY_RECEIVED_SUBVOL we have to abort the transaction\nsince we did some metadata updates before.\n\nThis means that if a user calls this ioctl with the same received UUID\nfield for a lot of subvolumes, we will hit the overflow, trigger the\ntransaction abort and turn the filesystem into RO mode. A malicious user\ncould exploit this, and this ioctl does not even requires that a user\nhas admin privileges (CAP_SYS_ADMIN), only that he/she owns the subvolume.\n\nFix this by doing an early check for item overflow before starting a\ntransaction. This is also race safe because we are holding the subvol_sem\nsemaphore in exclusive (write) mode.\n\nA test case for fstests will follow soon."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"b9914db13ac15aca3b74544c0bb1a2e0dad1f174","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"b19c0465e4daad5aa8f60552ea0578cf31a11b1e","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"2e57b8cac2ba0d38aac76c1ecdfd8b899e3581a5","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"d11aefe654a04fc41996d254748d6a38b6b0a7be","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"41fb97353ff58fa4f31904c343fc8e3df2f7517d","versionType":"git"},{"version":"dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70","status":"affected","lessThan":"87f2c46003fce4d739138aab4af1942b1afdadac","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/ioctl.c","fs/btrfs/uuid-tree.c","fs/btrfs/uuid-tree.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"6.1.167","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.130","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/ioctl.c","fs/btrfs/uuid-tree.c","fs/btrfs/uuid-tree.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/b9914db13ac15aca3b74544c0bb1a2e0dad1f174"},{"url":"https://git.kernel.org/stable/c/b19c0465e4daad5aa8f60552ea0578cf31a11b1e"},{"url":"https://git.kernel.org/stable/c/2e57b8cac2ba0d38aac76c1ecdfd8b899e3581a5"},{"url":"https://git.kernel.org/stable/c/d11aefe654a04fc41996d254748d6a38b6b0a7be"},{"url":"https://git.kernel.org/stable/c/41fb97353ff58fa4f31904c343fc8e3df2f7517d"},{"url":"https://git.kernel.org/stable/c/87f2c46003fce4d739138aab4af1942b1afdadac"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:23:03.390Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.1.167"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.6.130"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.12.78"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.18.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.19.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}