In the Linux kernel, the following vulnerability has been resolved:
NFSD: Initialize struct nfsd4_copy earlier
Ensure the refcount and asynccopies fields are initialized early. cleanupasynccopy() will reference these fields if an error occurs in nfsd4copy(). If they are not correctly initialized, at the very least, a refcount underflow occurs.
[
{
"target": {
"file": "fs/nfsd/nfs4proc.c",
"function": "nfsd4_copy"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1",
"deprecated": false,
"id": "CVE-2024-50241-2fa66704",
"digest": {
"function_hash": "326764650652923075950622391946406479741",
"length": 2091.0
},
"signature_type": "Function"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7267625baf365a969f1b25ded6f07b64bc90ec5b",
"deprecated": false,
"id": "CVE-2024-50241-4d21f388",
"digest": {
"line_hashes": [
"260545316614851965941507895365565283053",
"274518335725502601544450374309051490431",
"336853801140051511851600861353071212130",
"94261363154878988567491117333794381418",
"248151355802736789691856009231529309115",
"71487856697622190359916856857120257168",
"75198922240267075159544937382887306698",
"279775101362179394515342849684937088801",
"126843487856574884801092816881706072905",
"204699309710951456709196531825865981716",
"125517987514170374575231691208105249880"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c",
"function": "nfsd4_copy"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@63fab04cbd0f96191b6e5beedc3b643b01c15889",
"deprecated": false,
"id": "CVE-2024-50241-68da361f",
"digest": {
"function_hash": "326764650652923075950622391946406479741",
"length": 2091.0
},
"signature_type": "Function"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@421f1a2a1afb47d88de09457ef7687e1df7bc997",
"deprecated": false,
"id": "CVE-2024-50241-6a01b21a",
"digest": {
"line_hashes": [
"260545316614851965941507895365565283053",
"274518335725502601544450374309051490431",
"336853801140051511851600861353071212130",
"94261363154878988567491117333794381418",
"248151355802736789691856009231529309115",
"71487856697622190359916856857120257168",
"75198922240267075159544937382887306698",
"279775101362179394515342849684937088801",
"126843487856574884801092816881706072905",
"204699309710951456709196531825865981716",
"125517987514170374575231691208105249880"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c",
"function": "nfsd4_copy"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@421f1a2a1afb47d88de09457ef7687e1df7bc997",
"deprecated": false,
"id": "CVE-2024-50241-80be0359",
"digest": {
"function_hash": "169953646159602373808368304928472399300",
"length": 1944.0
},
"signature_type": "Function"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c",
"function": "nfsd4_copy"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7267625baf365a969f1b25ded6f07b64bc90ec5b",
"deprecated": false,
"id": "CVE-2024-50241-83773807",
"digest": {
"function_hash": "169953646159602373808368304928472399300",
"length": 1944.0
},
"signature_type": "Function"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@63fab04cbd0f96191b6e5beedc3b643b01c15889",
"deprecated": false,
"id": "CVE-2024-50241-add31d55",
"digest": {
"line_hashes": [
"260545316614851965941507895365565283053",
"274518335725502601544450374309051490431",
"336853801140051511851600861353071212130",
"94261363154878988567491117333794381418",
"248151355802736789691856009231529309115",
"71487856697622190359916856857120257168",
"75198922240267075159544937382887306698",
"279775101362179394515342849684937088801",
"126843487856574884801092816881706072905",
"204699309710951456709196531825865981716",
"125517987514170374575231691208105249880"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3074003fa6837c2b89a34d8d12d9463b59d22d6",
"deprecated": false,
"id": "CVE-2024-50241-c21bd391",
"digest": {
"line_hashes": [
"260545316614851965941507895365565283053",
"274518335725502601544450374309051490431",
"336853801140051511851600861353071212130",
"94261363154878988567491117333794381418",
"248151355802736789691856009231529309115",
"71487856697622190359916856857120257168",
"75198922240267075159544937382887306698",
"279775101362179394515342849684937088801",
"126843487856574884801092816881706072905",
"204699309710951456709196531825865981716",
"125517987514170374575231691208105249880"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1",
"deprecated": false,
"id": "CVE-2024-50241-cdf06bb0",
"digest": {
"line_hashes": [
"260545316614851965941507895365565283053",
"274518335725502601544450374309051490431",
"336853801140051511851600861353071212130",
"94261363154878988567491117333794381418",
"248151355802736789691856009231529309115",
"71487856697622190359916856857120257168",
"75198922240267075159544937382887306698",
"279775101362179394515342849684937088801",
"126843487856574884801092816881706072905",
"204699309710951456709196531825865981716",
"125517987514170374575231691208105249880"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"target": {
"file": "fs/nfsd/nfs4proc.c",
"function": "nfsd4_copy"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3074003fa6837c2b89a34d8d12d9463b59d22d6",
"deprecated": false,
"id": "CVE-2024-50241-e0e5df81",
"digest": {
"function_hash": "169953646159602373808368304928472399300",
"length": 1944.0
},
"signature_type": "Function"
}
]