{"id":"CVE-2026-68328","state":"PUBLISHED","title":"nfp: Check resource mutex allocation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: Check resource mutex allocation\n\nnfp_cpp_resource_find() allocates a CPP mutex handle for the matching\nresource-table entry and then reports success.  nfp_resource_try_acquire()\nimmediately passes that handle to nfp_cpp_mutex_trylock().\n\nHowever, nfp_cpp_mutex_alloc() returns NULL on failure.  If that happens\nfor a matching table entry, the resource lookup still returns success and\nthe following trylock dereferences a NULL mutex pointer while opening the\nresource.\n\nnfp_resource_acquire() already treats failure to allocate the table mutex\nas -ENOMEM.  Do the same for the resource mutex and fail the lookup before\npublishing the rest of the resource handle.\n\nThis issue was found by a static analysis checker and confirmed by\nmanual source review.","publishedAt":"2026-08-10T12:03:04.560Z","updatedAt":"2026-08-19T16:33:25.716Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"18737a48acc87e4cbe41d6fea9a3f44eae490e24","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"423523f96a681428ce6e214eaf47f0d8242319de","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"0dbd85a8cc35c14bd26e686fa5fae8c64a7958ae","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"6dbd428119cb1fd1b73cf6968c711f4ea964dc8b","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"cfa119aa781c4044dab5b4c1e5864600f53a26bc","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"3b1d4fc3b73ea6faf008a0996ce6190c6e43efc3","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"a7dc30b6828c3a30252892827b12b676749f250f","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"a61b4db34a753bdf5c9e77a7f3d3dddd41dcfacc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c"]}],"references":["https://git.kernel.org/stable/c/18737a48acc87e4cbe41d6fea9a3f44eae490e24","https://git.kernel.org/stable/c/423523f96a681428ce6e214eaf47f0d8242319de","https://git.kernel.org/stable/c/0dbd85a8cc35c14bd26e686fa5fae8c64a7958ae","https://git.kernel.org/stable/c/6dbd428119cb1fd1b73cf6968c711f4ea964dc8b","https://git.kernel.org/stable/c/cfa119aa781c4044dab5b4c1e5864600f53a26bc","https://git.kernel.org/stable/c/3b1d4fc3b73ea6faf008a0996ce6190c6e43efc3","https://git.kernel.org/stable/c/a7dc30b6828c3a30252892827b12b676749f250f","https://git.kernel.org/stable/c/a61b4db34a753bdf5c9e77a7f3d3dddd41dcfacc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68328.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68328","state":"PUBLISHED","datePublished":"2026-08-10T12:03:04.560Z","dateUpdated":"2026-08-19T16:33:25.716Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.382Z"},"containers":{"cna":{"title":"nfp: Check resource mutex allocation","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: Check resource mutex allocation\n\nnfp_cpp_resource_find() allocates a CPP mutex handle for the matching\nresource-table entry and then reports success.  nfp_resource_try_acquire()\nimmediately passes that handle to nfp_cpp_mutex_trylock().\n\nHowever, nfp_cpp_mutex_alloc() returns NULL on failure.  If that happens\nfor a matching table entry, the resource lookup still returns success and\nthe following trylock dereferences a NULL mutex pointer while opening the\nresource.\n\nnfp_resource_acquire() already treats failure to allocate the table mutex\nas -ENOMEM.  Do the same for the resource mutex and fail the lookup before\npublishing the rest of the resource handle.\n\nThis issue was found by a static analysis checker and confirmed by\nmanual source review."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"18737a48acc87e4cbe41d6fea9a3f44eae490e24","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"423523f96a681428ce6e214eaf47f0d8242319de","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"0dbd85a8cc35c14bd26e686fa5fae8c64a7958ae","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"6dbd428119cb1fd1b73cf6968c711f4ea964dc8b","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"cfa119aa781c4044dab5b4c1e5864600f53a26bc","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"3b1d4fc3b73ea6faf008a0996ce6190c6e43efc3","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"a7dc30b6828c3a30252892827b12b676749f250f","versionType":"git"},{"version":"f01a2161577d31b14581e0db3bbbdfa963f145b6","status":"affected","lessThan":"a61b4db34a753bdf5c9e77a7f3d3dddd41dcfacc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/18737a48acc87e4cbe41d6fea9a3f44eae490e24"},{"url":"https://git.kernel.org/stable/c/423523f96a681428ce6e214eaf47f0d8242319de"},{"url":"https://git.kernel.org/stable/c/0dbd85a8cc35c14bd26e686fa5fae8c64a7958ae"},{"url":"https://git.kernel.org/stable/c/6dbd428119cb1fd1b73cf6968c711f4ea964dc8b"},{"url":"https://git.kernel.org/stable/c/cfa119aa781c4044dab5b4c1e5864600f53a26bc"},{"url":"https://git.kernel.org/stable/c/3b1d4fc3b73ea6faf008a0996ce6190c6e43efc3"},{"url":"https://git.kernel.org/stable/c/a7dc30b6828c3a30252892827b12b676749f250f"},{"url":"https://git.kernel.org/stable/c/a61b4db34a753bdf5c9e77a7f3d3dddd41dcfacc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:33:25.716Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}