A TOCTOU mismatch in the NFS client code in the Linux kernel before 5.8.3 could be used by local attackers to corrupt memory or possibly have unspecified other impact because a size check is in fs/nfs/nfs4proc.c instead of fs/nfs/nfs4xdr.c, aka CID-b4487b935452.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25212.json"
[
{
"id": "CVE-2020-25212-2c9c6fc3",
"target": {
"file": "fs/nfs/nfs4proc.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b4487b93545214a9db8cbf32e86411677b0cca21",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16879768765701807362760097714461020216",
"269495000388097936060792805025213784304",
"204614954049276776692362494369803362630",
"72027525408359572415717861178964911541",
"163667638405775340158438471730618104450"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2020-25212-553024a7",
"target": {
"function": "decode_attr_security_label",
"file": "fs/nfs/nfs4xdr.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b4487b93545214a9db8cbf32e86411677b0cca21",
"digest": {
"function_hash": "38983862644838286334533095339862990434",
"length": 1179.0
},
"signature_type": "Function"
},
{
"id": "CVE-2020-25212-6bfdd77b",
"target": {
"function": "_nfs4_get_security_label",
"file": "fs/nfs/nfs4proc.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b4487b93545214a9db8cbf32e86411677b0cca21",
"digest": {
"function_hash": "110618320831952691526213674208221713246",
"length": 742.0
},
"signature_type": "Function"
},
{
"id": "CVE-2020-25212-e42d1b11",
"target": {
"file": "fs/nfs/nfs4xdr.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b4487b93545214a9db8cbf32e86411677b0cca21",
"digest": {
"threshold": 0.9,
"line_hashes": [
"40282962973350940328742470921490231492",
"238353970123987992425083540581246838818",
"30110132837204541456076304709471840282",
"294132953117148866317026652515530173664"
]
},
"signature_type": "Line"
}
]