In the Linux kernel, the following vulnerability has been resolved:
memstick/mspro_block: fix handling of read-only devices
Use setdiskro to propagate the read-only state to the block layer instead of checking for it in ->open and leaking a reference in case of a read-only device.
[
{
"id": "CVE-2022-49178-0225ad6c",
"signature_type": "Line",
"digest": {
"line_hashes": [
"110713912642443205543743894594205354836",
"64245158798500625802319805451188205977",
"335730204422909328932214395324267293919",
"59724659379668632346462553567046036629",
"269976242675156126834093065739030782119",
"317228693394621356246718853365843595035",
"271398392717870409739003374484081354031",
"258581757654510081758331127139080887944",
"277809936047688944321463885568388368473",
"143499984452792660420027112868732707461",
"276124704402993863285325845361204692282",
"301520366092015723627054637460822739757",
"334309928110958407244555503128010921925"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6dab421bfe06a59bf8f212a72e34673e8acf2018",
"deprecated": false
},
{
"id": "CVE-2022-49178-1e2faf20",
"signature_type": "Function",
"digest": {
"length": 375.0,
"function_hash": "115380778153633297776004441471152770687"
},
"signature_version": "v1",
"target": {
"function": "mspro_block_bd_open",
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@057b53c4f87690d626203acef8b63d52a9bf2f43",
"deprecated": false
},
{
"id": "CVE-2022-49178-6948b23e",
"signature_type": "Line",
"digest": {
"line_hashes": [
"110713912642443205543743894594205354836",
"64245158798500625802319805451188205977",
"335730204422909328932214395324267293919",
"59724659379668632346462553567046036629",
"269976242675156126834093065739030782119",
"317228693394621356246718853365843595035",
"271398392717870409739003374484081354031",
"258581757654510081758331127139080887944",
"277809936047688944321463885568388368473",
"143499984452792660420027112868732707461",
"276124704402993863285325845361204692282",
"301520366092015723627054637460822739757",
"334309928110958407244555503128010921925"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a0725b9d78ff6efdc95a37e4f05072e79c63918",
"deprecated": false
},
{
"id": "CVE-2022-49178-74271a70",
"signature_type": "Line",
"digest": {
"line_hashes": [
"110713912642443205543743894594205354836",
"64245158798500625802319805451188205977",
"335730204422909328932214395324267293919",
"59724659379668632346462553567046036629",
"269976242675156126834093065739030782119",
"317228693394621356246718853365843595035",
"271398392717870409739003374484081354031",
"258581757654510081758331127139080887944",
"277809936047688944321463885568388368473",
"143499984452792660420027112868732707461",
"276124704402993863285325845361204692282",
"301520366092015723627054637460822739757",
"334309928110958407244555503128010921925"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@057b53c4f87690d626203acef8b63d52a9bf2f43",
"deprecated": false
},
{
"id": "CVE-2022-49178-828c8426",
"signature_type": "Function",
"digest": {
"length": 2273.0,
"function_hash": "18325028459542993352559588763206481292"
},
"signature_version": "v1",
"target": {
"function": "mspro_block_init_disk",
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@057b53c4f87690d626203acef8b63d52a9bf2f43",
"deprecated": false
},
{
"id": "CVE-2022-49178-87d62d3b",
"signature_type": "Function",
"digest": {
"length": 375.0,
"function_hash": "115380778153633297776004441471152770687"
},
"signature_version": "v1",
"target": {
"function": "mspro_block_bd_open",
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a0725b9d78ff6efdc95a37e4f05072e79c63918",
"deprecated": false
},
{
"id": "CVE-2022-49178-9d9d6558",
"signature_type": "Function",
"digest": {
"length": 2273.0,
"function_hash": "18325028459542993352559588763206481292"
},
"signature_version": "v1",
"target": {
"function": "mspro_block_init_disk",
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6dab421bfe06a59bf8f212a72e34673e8acf2018",
"deprecated": false
},
{
"id": "CVE-2022-49178-e3d0210d",
"signature_type": "Function",
"digest": {
"length": 375.0,
"function_hash": "115380778153633297776004441471152770687"
},
"signature_version": "v1",
"target": {
"function": "mspro_block_bd_open",
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6dab421bfe06a59bf8f212a72e34673e8acf2018",
"deprecated": false
},
{
"id": "CVE-2022-49178-ec583f6b",
"signature_type": "Function",
"digest": {
"length": 2273.0,
"function_hash": "18325028459542993352559588763206481292"
},
"signature_version": "v1",
"target": {
"function": "mspro_block_init_disk",
"file": "drivers/memstick/core/mspro_block.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a0725b9d78ff6efdc95a37e4f05072e79c63918",
"deprecated": false
}
]