In the Linux kernel, the following vulnerability has been resolved:
NFSv4: Don't hold the layoutget locks across multiple RPC calls
When doing layoutget as part of the open() compound, we have to be careful to release the layout locks before we can call any further RPC calls, such as setattr(). The reason is that those calls could trigger a recall, which could deadlock.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea759ae0a9ae5acee677d722129710ac89cc59c1",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-084cb7d8",
"signature_type": "Function",
"digest": {
"function_hash": "21622463565639983361943362083678182261",
"length": 1826.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6949493884fe88500de4af182588e071cf1544ee",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-204578b2",
"signature_type": "Function",
"digest": {
"function_hash": "21622463565639983361943362083678182261",
"length": 1826.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08d7a26d115cc7892668baa9750f64bd8baca29b",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-2a527e6b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2b3be930e79cc5d9d829f158e31172b2043f0cd",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-3415e223",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-3ca12519",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2b3be930e79cc5d9d829f158e31172b2043f0cd",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-44507b28",
"signature_type": "Function",
"digest": {
"function_hash": "80412183048550976822584333321863374067",
"length": 1678.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-527d1e65",
"signature_type": "Function",
"digest": {
"function_hash": "80412183048550976822584333321863374067",
"length": 1678.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea759ae0a9ae5acee677d722129710ac89cc59c1",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-5af09fa2",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08d7a26d115cc7892668baa9750f64bd8baca29b",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-818cd8a2",
"signature_type": "Function",
"digest": {
"function_hash": "80412183048550976822584333321863374067",
"length": 1678.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee5b9644f06b4d3cdcd9544f43f63312e425a4c",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-96d2995d",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-b68b8918",
"signature_type": "Function",
"digest": {
"function_hash": "199746382618693743162561603945347038472",
"length": 1346.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-ca42443d",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6949493884fe88500de4af182588e071cf1544ee",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-ccb4673a",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275189709720893006134314607347579463087",
"53456999633007951065007329561331559814",
"227447661188107141781907022387014723087",
"318804197457310844823829471582269474560"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee5b9644f06b4d3cdcd9544f43f63312e425a4c",
"target": {
"function": "_nfs4_open_and_get_state",
"file": "fs/nfs/nfs4proc.c"
},
"id": "CVE-2022-49316-ddfd11e0",
"signature_type": "Function",
"digest": {
"function_hash": "80412183048550976822584333321863374067",
"length": 1678.0
},
"deprecated": false,
"signature_version": "v1"
}
]