In the Linux kernel, the following vulnerability has been resolved:
bfq: Make sure bfqg for which we are queueing requests is online
Bios queued into BFQ IO scheduler can be associated with a cgroup that was already offlined. This may then cause insertion of this bfqgroup into a service tree. But this bfqgroup will get freed as soon as last bio associated with it is completed leading to use after free issues for service tree users. Fix the problem by making sure we always operate on online bfqgroup. If the bfqgroup associated with the bio is not online, we pick the first online parent.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2022/49xxx/CVE-2022-49411.json"
}[
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97bd6c56bdcb41079e488e31df56809e3b2ce628",
"id": "CVE-2022-49411-00bead5b",
"target": {
"function": "bfq_bio_bfqg",
"file": "block/bfq-cgroup.c"
},
"digest": {
"function_hash": "57355996370137613537424806146772066331",
"length": 155.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ccddf8cd411c1800863ed357064e56ceffd356bb",
"id": "CVE-2022-49411-12f815cd",
"target": {
"function": "bfq_bio_bfqg",
"file": "block/bfq-cgroup.c"
},
"digest": {
"function_hash": "57355996370137613537424806146772066331",
"length": 155.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b",
"id": "CVE-2022-49411-363d6967",
"target": {
"file": "block/bfq-cgroup.c"
},
"digest": {
"line_hashes": [
"277536810647244974413211644906565231580",
"61209709452312453418101737803178744482",
"248759437190627731133948901251696346722",
"332505469186520394214144101688413649846",
"312591256531065489959464625951932158454",
"94517875375253951370796187284330279935",
"273562615199689912182342966361768401662"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@075a53b78b815301f8d3dd1ee2cd99554e34f0dd",
"id": "CVE-2022-49411-39d36b1a",
"target": {
"function": "bfq_bio_bfqg",
"file": "block/bfq-cgroup.c"
},
"digest": {
"function_hash": "57355996370137613537424806146772066331",
"length": 155.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97bd6c56bdcb41079e488e31df56809e3b2ce628",
"id": "CVE-2022-49411-44ef793c",
"target": {
"file": "block/bfq-cgroup.c"
},
"digest": {
"line_hashes": [
"277536810647244974413211644906565231580",
"61209709452312453418101737803178744482",
"248759437190627731133948901251696346722",
"332505469186520394214144101688413649846",
"312591256531065489959464625951932158454",
"94517875375253951370796187284330279935",
"273562615199689912182342966361768401662"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7781c38552e6cc54ed8e9040279561340516b881",
"id": "CVE-2022-49411-74096d71",
"target": {
"file": "block/bfq-cgroup.c"
},
"digest": {
"line_hashes": [
"277536810647244974413211644906565231580",
"61209709452312453418101737803178744482",
"248759437190627731133948901251696346722",
"332505469186520394214144101688413649846",
"312591256531065489959464625951932158454",
"94517875375253951370796187284330279935",
"273562615199689912182342966361768401662"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ccddf8cd411c1800863ed357064e56ceffd356bb",
"id": "CVE-2022-49411-76325272",
"target": {
"file": "block/bfq-cgroup.c"
},
"digest": {
"line_hashes": [
"277536810647244974413211644906565231580",
"61209709452312453418101737803178744482",
"248759437190627731133948901251696346722",
"332505469186520394214144101688413649846",
"312591256531065489959464625951932158454",
"94517875375253951370796187284330279935",
"273562615199689912182342966361768401662"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b",
"id": "CVE-2022-49411-85c6e919",
"target": {
"function": "bfq_bio_bfqg",
"file": "block/bfq-cgroup.c"
},
"digest": {
"function_hash": "57355996370137613537424806146772066331",
"length": 155.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51f724bffa3403a5236597e6b75df7329c1ec6e9",
"id": "CVE-2022-49411-975d1aa0",
"target": {
"function": "bfq_bio_bfqg",
"file": "block/bfq-cgroup.c"
},
"digest": {
"function_hash": "57355996370137613537424806146772066331",
"length": 155.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@075a53b78b815301f8d3dd1ee2cd99554e34f0dd",
"id": "CVE-2022-49411-a4f6b383",
"target": {
"file": "block/bfq-cgroup.c"
},
"digest": {
"line_hashes": [
"277536810647244974413211644906565231580",
"61209709452312453418101737803178744482",
"248759437190627731133948901251696346722",
"332505469186520394214144101688413649846",
"312591256531065489959464625951932158454",
"94517875375253951370796187284330279935",
"273562615199689912182342966361768401662"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7781c38552e6cc54ed8e9040279561340516b881",
"id": "CVE-2022-49411-aab0ffea",
"target": {
"function": "bfq_bio_bfqg",
"file": "block/bfq-cgroup.c"
},
"digest": {
"function_hash": "57355996370137613537424806146772066331",
"length": 155.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51f724bffa3403a5236597e6b75df7329c1ec6e9",
"id": "CVE-2022-49411-bf5eff70",
"target": {
"file": "block/bfq-cgroup.c"
},
"digest": {
"line_hashes": [
"277536810647244974413211644906565231580",
"61209709452312453418101737803178744482",
"248759437190627731133948901251696346722",
"332505469186520394214144101688413649846",
"312591256531065489959464625951932158454",
"94517875375253951370796187284330279935",
"273562615199689912182342966361768401662"
],
"threshold": 0.9
},
"signature_type": "Line"
}
]