summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2025-07-11 18:32:03 +0200
committerJens Axboe <axboe@kernel.dk>2025-07-11 20:39:45 -0600
commit7e49538288e523427beedd26993d446afef1a6fb (patch)
tree13c9185ce860c3c1c904b7f5a1d7a68829affc52 /tools/perf/scripts/python/task-analyzer.py
parent1bb94ff5ab4be2485884e0a46483f12629f3bb92 (diff)
downloadkernel-7e49538288e523427beedd26993d446afef1a6fb.tar.gz
loop: Avoid updating block size under exclusive owner
Syzbot came up with a reproducer where a loop device block size is changed underneath a mounted filesystem. This causes a mismatch between the block device block size and the block size stored in the superblock causing confusion in various places such as fs/buffer.c. The particular issue triggered by syzbot was a warning in __getblk_slow() due to requested buffer size not matching block device block size. Fix the problem by getting exclusive hold of the loop device to change its block size. This fails if somebody (such as filesystem) has already an exclusive ownership of the block device and thus prevents modifying the loop device under some exclusive owner which doesn't expect it. Reported-by: syzbot+01ef7a8da81a975e1ccd@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz> Tested-by: syzbot+01ef7a8da81a975e1ccd@syzkaller.appspotmail.com Link: https://lore.kernel.org/r/20250711163202.19623-2-jack@suse.cz Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
303122d2fd94b719e546cf8a39d412c7eee69'>ASoC: dwc: add runtime suspend/resume functionalityMaruthi Srinivas Bayyavarapu 2015-10-26Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/es8328', 'asoc/t...Mark Brown 2015-10-24ASoC: dwc: add check for master/slave formatMaruthi Srinivas Bayyavarapu 2015-10-05ASoC: dwc: support dw i2s in slave modeMaruthi Srinivas Bayyavarapu 2015-10-02ASoC: dwc: fix dma stop transferring issueyitian 2015-10-02ASoC: dwc: correct irq clear methodYitian Bu 2015-02-04Merge remote-tracking branches 'asoc/topic/doc', 'asoc/topic/dwc', 'asoc/topi...Mark Brown 2015-01-28ASoC: dwc: Remove unnecessary conditional compilationAndrew Jackson 2014-12-30ASoC: dwc: Add devicetree support for Designware I2SAndrew Jackson 2014-12-30ASoC: dwc: Register components with managed interfaceAndrew Jackson 2014-12-30ASoC: dwc: Prepare clock before useAndrew Jackson 2014-12-30ASoC: dwc: Read I2S block configuration from registersAndrew Jackson 2014-12-30ASoC: dwc: Switch to managed clock resourceAndrew Jackson 2014-12-22ASoC: dwc: Iterate over all channelsAndrew Jackson 2014-12-22ASoC: dwc: Ensure FIFOs are flushed to prevent channel swapAndrew Jackson 2014-12-22ASoC: dwc: Reorder code in preparation for DT supportAndrew Jackson 2014-12-22ASoC: dwc: Remove unnecessary debug messages and testsAndrew Jackson 2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds 2014-12-03ASoC: dwc: Allocate resources with devm_ioremap_resourceAndrew Jackson 2014-10-20ASoC: dwc: drop owner assignment from platform_driversWolfram Sang 2014-09-09ASoC: Update email id of the authorRajeev Kumar 2014-09-06ASoC: dwc: Update email id of the authorRajeev Kumar 2013-08-29ASoC: designware_i2s: Remove unnecessary dev_set_drvdata()Fabio Estevam 2013-06-12ASoC: dwc: Folder path correction in file header.Rajeev Kumar 2013-06-12ASoC: dwc: debug message correction.Rajeev Kumar 2013-03-26ASoC: switch over to use snd_soc_register_component() on dw i2sKuninori Morimoto 2013-01-26ASoC: dwc: fix support for more than two channelsDan Carpenter 2012-07-04ASoC: dwc: Staticise non-exported i2s_start()Mark Brown 2012-06-28ASoC: dwc: Add missing __iomem annotationsMark Brown 2012-06-25ASoC: dwc: Bodge around continuing absence of clock API stubsMark Brown 2012-06-22ASoC: Add support for synopsys i2s controller as per ASoC framework.Rajeev Kumar