{"id":"CVE-2025-71233","state":"PUBLISHED","title":"PCI: endpoint: Avoid creating sub-groups asynchronously","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Avoid creating sub-groups asynchronously\n\nThe asynchronous creation of sub-groups by a delayed work could lead to a\nNULL pointer dereference when the driver directory is removed before the\nwork completes.\n\nThe crash can be easily reproduced with the following commands:\n\n  # cd /sys/kernel/config/pci_ep/functions/pci_epf_test\n  # for i in {1..20}; do mkdir test && rmdir test; done\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000088\n  ...\n  Call Trace:\n   configfs_register_group+0x3d/0x190\n   pci_epf_cfs_work+0x41/0x110\n   process_one_work+0x18f/0x350\n   worker_thread+0x25a/0x3a0\n\nFix this issue by using configfs_add_default_group() API which does not\nhave the deadlock problem as configfs_register_group() and does not require\nthe delayed work handler.\n\n[mani: slightly reworded the description and added stable list]","publishedAt":"2026-02-18T14:53:17.926Z","updatedAt":"2026-05-11T21:56:54.929Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"fa9fb38f5fe9c80094c2138354d45cdc8d094d69","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"5f609b3bffd4207cf9f2c9b41e1978457a5a1ea9","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"8cb905eca73944089a0db01443c7628a9e87012d","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"d9af3cf58bb4c8d6dea4166011c780756b1138b5","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"24a253c3aa6d9a2cde46158ce9782e023bfbf32d","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"73cee890adafa2c219bb865356e08e7f82423fe5","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"7c5c7d06bd1f86d2c3ebe62be903a4ba42db4d2c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/endpoint/pci-ep-cfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.201","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.164","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.127","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.72","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.11","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.1","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":["drivers/pci/endpoint/pci-ep-cfs.c"]}],"references":["https://git.kernel.org/stable/c/fa9fb38f5fe9c80094c2138354d45cdc8d094d69","https://git.kernel.org/stable/c/5f609b3bffd4207cf9f2c9b41e1978457a5a1ea9","https://git.kernel.org/stable/c/8cb905eca73944089a0db01443c7628a9e87012d","https://git.kernel.org/stable/c/d9af3cf58bb4c8d6dea4166011c780756b1138b5","https://git.kernel.org/stable/c/24a253c3aa6d9a2cde46158ce9782e023bfbf32d","https://git.kernel.org/stable/c/73cee890adafa2c219bb865356e08e7f82423fe5","https://git.kernel.org/stable/c/7c5c7d06bd1f86d2c3ebe62be903a4ba42db4d2c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71233.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71233","state":"PUBLISHED","datePublished":"2026-02-18T14:53:17.926Z","dateUpdated":"2026-05-11T21:56:54.929Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-02-18T14:25:13.845Z"},"containers":{"cna":{"title":"PCI: endpoint: Avoid creating sub-groups asynchronously","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Avoid creating sub-groups asynchronously\n\nThe asynchronous creation of sub-groups by a delayed work could lead to a\nNULL pointer dereference when the driver directory is removed before the\nwork completes.\n\nThe crash can be easily reproduced with the following commands:\n\n  # cd /sys/kernel/config/pci_ep/functions/pci_epf_test\n  # for i in {1..20}; do mkdir test && rmdir test; done\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000088\n  ...\n  Call Trace:\n   configfs_register_group+0x3d/0x190\n   pci_epf_cfs_work+0x41/0x110\n   process_one_work+0x18f/0x350\n   worker_thread+0x25a/0x3a0\n\nFix this issue by using configfs_add_default_group() API which does not\nhave the deadlock problem as configfs_register_group() and does not require\nthe delayed work handler.\n\n[mani: slightly reworded the description and added stable list]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"fa9fb38f5fe9c80094c2138354d45cdc8d094d69","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"5f609b3bffd4207cf9f2c9b41e1978457a5a1ea9","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"8cb905eca73944089a0db01443c7628a9e87012d","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"d9af3cf58bb4c8d6dea4166011c780756b1138b5","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"24a253c3aa6d9a2cde46158ce9782e023bfbf32d","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"73cee890adafa2c219bb865356e08e7f82423fe5","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"7c5c7d06bd1f86d2c3ebe62be903a4ba42db4d2c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/endpoint/pci-ep-cfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.201","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.164","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.127","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.72","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.11","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.1","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":["drivers/pci/endpoint/pci-ep-cfs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fa9fb38f5fe9c80094c2138354d45cdc8d094d69"},{"url":"https://git.kernel.org/stable/c/5f609b3bffd4207cf9f2c9b41e1978457a5a1ea9"},{"url":"https://git.kernel.org/stable/c/8cb905eca73944089a0db01443c7628a9e87012d"},{"url":"https://git.kernel.org/stable/c/d9af3cf58bb4c8d6dea4166011c780756b1138b5"},{"url":"https://git.kernel.org/stable/c/24a253c3aa6d9a2cde46158ce9782e023bfbf32d"},{"url":"https://git.kernel.org/stable/c/73cee890adafa2c219bb865356e08e7f82423fe5"},{"url":"https://git.kernel.org/stable/c/7c5c7d06bd1f86d2c3ebe62be903a4ba42db4d2c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:56:54.929Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.15.201"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.1.164"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.6.127"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.12.72"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.18.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.19.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}