{"identifier":"CVE-2026-99850","cve":{"id":"CVE-2026-99850","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsverity: Explicitly require FMODE_READ to retrieve hashes\n\nThe comment in fsverity_ioctl_read_metadata(), which justifies not\nchecking for FMODE_READ, doesn't consider that the nonstandard access\nmode 3 (ioctl-only) exists.\n\nOpening an ioctl-only fd generally requires read (and write) permission.\nHowever, there are gaps with certain LSMs: an ioctl-only fd requests\nread (and write) permission via security_inode_permission, but not\nsecurity_file_open.  With certain LSMs relying on the latter, such as\nLandlock and AppArmor, an ioctl-only fd can be opened without the LSM\ngranting read (and write) permission.\n\nSince FS_IOC_READ_VERITY_METADATA returns hashes of file contents\nblocks, it should require read permission.  This also applies to\nFS_IOC_MEASURE_VERITY, which returns a hash for the whole file.\n\nMeanwhile, ioctl-only fds are a rarely-used feature, not known to be\nused with either ioctl.\n\nTherefore, just disallow these ioctls on ioctl-only file descriptors,\nsimilar to what was already done with FS_IOC_ENABLE_VERITY.\n\nMore specifically, explicitly check for FMODE_READ.  This also covers\nwrite-only fds to non-verity files which otherwise would have failed\nwith ENODATA.  This change in error code for write-only fds should be\nfine too, as these ioctls cannot be usefully used with write-only fds\nanyway, but it's worth noting as another technicality.","published":"2026-11-30T14:20:18.363000+00:00","modified":"2026-11-30T14:20:18.363000+00:00","status":"Received","score":null,"severity":"UNSCORED","vector":"","cvss_version":"","affected":[],"weaknesses":[],"references":[{"url":"https://git.kernel.org/stable/c/02c8f665755b1f43a82b333f04e7f7c52cce9865","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/054901c3a5c0c5be4ac4f5889a1f31133701fb2e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1acb4fd2d011c4bd6cc961095ae17361c71ff61a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/666a39fcb5c9bcb600877480b121a91f59f3744e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9fe2f9b04681b2a1e3b516395ec3631967c77114","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bcb5330153a89af3170a18fb887f3b37305c2cbd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c4b9b5e0cac400c13d02ea71b44525d68170e7bc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f1f23cb28ae75284453d3947fb97d66b7fb85d6b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"kev":null,"kev_checked":true,"metrics":{},"configurations":[],"source":"nvd","retrieved_at":"2026-11-30T16:30:09.707514+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00221,"percentile":0.13424,"date":"2026-12-04","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"git.kernel.org","source_url":"https://git.kernel.org/stable/c/02c8f665755b1f43a82b333f04e7f7c52cce9865","investigate_url":"https://investigate.aeglixmind.com/#git.kernel.org"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-99850","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-99850","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-99850","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}