* Re: [syzbot] #syz test
2025-04-04 7:02 [syzbot] [perf?] WARNING in __free_event syzbot
@ 2025-04-05 17:12 ` syzbot
2025-04-05 19:32 ` syzbot
1 sibling, 0 replies; 16+ messages in thread
From: syzbot @ 2025-04-05 17:12 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: gshahrouzi@gmail.com
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 0bb21659e252..153ba622cfa0 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -14016,6 +14016,9 @@ inherit_event(struct perf_event *parent_event,
if (IS_ERR(child_event))
return child_event;
+ get_ctx(child_ctx);
+ child_event->ctx = child_ctx;
+
pmu_ctx = find_get_pmu_context(child_event->pmu, child_ctx,
child_event);
if (IS_ERR(pmu_ctx)) {
free_event(child_event);
@@ -14037,8 +14040,6 @@ inherit_event(struct perf_event *parent_event,
return NULL;
}
- get_ctx(child_ctx);
-
/*
* Make the child state follow the state of the parent event,
* not its attr.disabled bit. We hold the parent's mutex,
@@ -14059,7 +14060,6 @@ inherit_event(struct perf_event *parent_event,
local64_set(&hwc->period_left, sample_period);
}
- child_event->ctx = child_ctx;
child_event->overflow_handler = parent_event->overflow_handler;
child_event->overflow_handler_context
= parent_event->overflow_handler_context;
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-04-04 7:02 [syzbot] [perf?] WARNING in __free_event syzbot
2025-04-05 17:12 ` [syzbot] #syz test syzbot
@ 2025-04-05 19:32 ` syzbot
1 sibling, 0 replies; 16+ messages in thread
From: syzbot @ 2025-04-05 19:32 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: gshahrouzi@gmail.com
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 0bb21659e252..153ba622cfa0 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -14016,6 +14016,9 @@ inherit_event(struct perf_event *parent_event,
if (IS_ERR(child_event))
return child_event;
+ get_ctx(child_ctx);
+ child_event->ctx = child_ctx;
+
pmu_ctx = find_get_pmu_context(child_event->pmu, child_ctx, child_event);
if (IS_ERR(pmu_ctx)) {
free_event(child_event);
@@ -14037,8 +14040,6 @@ inherit_event(struct perf_event *parent_event,
return NULL;
}
- get_ctx(child_ctx);
-
/*
* Make the child state follow the state of the parent event,
* not its attr.disabled bit. We hold the parent's mutex,
@@ -14059,7 +14060,6 @@ inherit_event(struct perf_event *parent_event,
local64_set(&hwc->period_left, sample_period);
}
- child_event->ctx = child_ctx;
child_event->overflow_handler = parent_event->overflow_handler;
child_event->overflow_handler_context
= parent_event->overflow_handler_context;
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-04-08 11:53 [syzbot] [bcachefs?] WARNING in bch2_dev_free syzbot
@ 2025-04-12 18:04 ` syzbot
0 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-04-12 18:04 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: gshahrouzi@gmail.com
Try to remove device but fails
Reinitialize reference counting for write operations for device
Shut down the filesystem
Make the filesystem read only
Read-write bit is not set so it skips trying to make the filesystem read-only, implying that the filesystem is already in read-only mode.
Encounter error because write operations are still assigned to a device
When the filesystem is starting up, it tries setting it to set the filesystem to read-only but it’s already set.
When failing to remove a device, it tries giving back write permissions to a device when the filesystem is read-only (not sure if this is nonsensical or not).
Since a device has write permissions, it tries to remove them but fails because the filesystem is in read-only mode.
So the fix here is to prevent it from giving the device write permissions if the filesystem is in read-only mode.
Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
---
fs/bcachefs/super.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index b79e80a435e09..788e870bfef6a 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -1757,7 +1757,8 @@ int bch2_dev_remove(struct bch_fs *c, struct bch_dev *ca, int flags)
up_write(&c->state_lock);
return 0;
err:
- if (ca->mi.state == BCH_MEMBER_STATE_rw &&
+ if (test_bit(BCH_FS_rw, &c->flags) &&
+ ca->mi.state == BCH_MEMBER_STATE_rw &&
!percpu_ref_is_zero(&ca->io_ref[READ]))
__bch2_dev_read_write(c, ca);
up_write(&c->state_lock);
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer
@ 2025-05-05 7:16 syzbot
2025-05-28 10:42 ` [syzbot] #syz test syzbot
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: syzbot @ 2025-05-05 7:16 UTC (permalink / raw)
To: linux-i2c, linux-kernel, syzkaller-bugs, wsa+renesas
Hello,
syzbot found the following issue on:
HEAD commit: 02ddfb981de8 Merge tag 'scsi-fixes' of git://git.kernel.or..
git tree: upstream
console+strace: https://syzkaller.appspot.com/x/log.txt?x=1034139b980000
kernel config: https://syzkaller.appspot.com/x/.config?x=9dc42c34a3f5c357
dashboard link: https://syzkaller.appspot.com/bug?extid=0a36c1fec090c67a9885
compiler: Debian clang version 20.1.2 (++20250402124445+58df0ef89dd6-1~exp1~20250402004600.97), Debian LLD 20.1.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10c9df74580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1550f1b3980000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/5ca57f5a3f77/disk-02ddfb98.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/3f23cbc11e68/vmlinux-02ddfb98.xz
kernel image: https://storage.googleapis.com/syzbot-assets/73e63afac354/bzImage-02ddfb98.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+0a36c1fec090c67a9885@syzkaller.appspotmail.com
=====================================================
BUG: KMSAN: uninit-value in i2c_smbus_xfer_emulated drivers/i2c/i2c-core-smbus.c:481 [inline]
BUG: KMSAN: uninit-value in __i2c_smbus_xfer+0x23e7/0x2f60 drivers/i2c/i2c-core-smbus.c:607
i2c_smbus_xfer_emulated drivers/i2c/i2c-core-smbus.c:481 [inline]
__i2c_smbus_xfer+0x23e7/0x2f60 drivers/i2c/i2c-core-smbus.c:607
i2c_smbus_xfer+0x31d/0x4d0 drivers/i2c/i2c-core-smbus.c:545
i2cdev_ioctl_smbus+0x4a1/0x660 drivers/i2c/i2c-dev.c:389
i2cdev_ioctl+0xa14/0xf40 drivers/i2c/i2c-dev.c:478
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0x239/0x400 fs/ioctl.c:892
__x64_sys_ioctl+0x97/0xe0 fs/ioctl.c:892
x64_sys_call+0x1ebe/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Local variable page created at:
get_futex_key+0x6f/0x11d0 kernel/futex/core.c:227
futex_wake+0xfe/0x890 kernel/futex/waitwake.c:166
CPU: 1 UID: 0 PID: 5795 Comm: syz-executor470 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(undef)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
=====================================================
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-05 7:16 [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer syzbot
@ 2025-05-28 10:42 ` syzbot
2025-05-28 15:42 ` syzbot
` (3 subsequent siblings)
4 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-05-28 10:42 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-05 7:16 [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer syzbot
2025-05-28 10:42 ` [syzbot] #syz test syzbot
@ 2025-05-28 15:42 ` syzbot
2025-05-29 8:38 ` syzbot
` (2 subsequent siblings)
4 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-05-28 15:42 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-05 7:16 [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer syzbot
2025-05-28 10:42 ` [syzbot] #syz test syzbot
2025-05-28 15:42 ` syzbot
@ 2025-05-29 8:38 ` syzbot
2025-05-29 11:17 ` syzbot
2025-06-04 11:21 ` syzbot
4 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-05-29 8:38 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-05 7:16 [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer syzbot
` (2 preceding siblings ...)
2025-05-29 8:38 ` syzbot
@ 2025-05-29 11:17 ` syzbot
2025-06-04 11:21 ` syzbot
4 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-05-29 11:17 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-05 7:16 [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer syzbot
` (3 preceding siblings ...)
2025-05-29 11:17 ` syzbot
@ 2025-06-04 11:21 ` syzbot
4 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-04 11:21 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-26 10:41 [syzbot] [bcachefs?] KASAN: slab-out-of-bounds Read in bch2_sb_members_v2_to_text syzbot
@ 2025-06-04 11:31 ` syzbot
2025-06-05 15:56 ` syzbot
` (2 subsequent siblings)
3 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-04 11:31 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-26 10:41 [syzbot] [bcachefs?] KASAN: slab-out-of-bounds Read in bch2_sb_members_v2_to_text syzbot
2025-06-04 11:31 ` [syzbot] #syz test syzbot
@ 2025-06-05 15:56 ` syzbot
2025-06-05 17:18 ` syzbot
2025-06-09 15:31 ` syzbot
3 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-05 15:56 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-26 10:41 [syzbot] [bcachefs?] KASAN: slab-out-of-bounds Read in bch2_sb_members_v2_to_text syzbot
2025-06-04 11:31 ` [syzbot] #syz test syzbot
2025-06-05 15:56 ` syzbot
@ 2025-06-05 17:18 ` syzbot
2025-06-09 15:31 ` syzbot
3 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-05 17:18 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-05-26 10:41 [syzbot] [bcachefs?] KASAN: slab-out-of-bounds Read in bch2_sb_members_v2_to_text syzbot
` (2 preceding siblings ...)
2025-06-05 17:18 ` syzbot
@ 2025-06-09 15:31 ` syzbot
3 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-09 15:31 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-06-17 8:11 [syzbot] [bcachefs?] KMSAN: uninit-value in __bch2_alloc_v4_to_text syzbot
@ 2025-06-19 4:31 ` syzbot
2025-06-19 7:23 ` syzbot
2025-06-19 11:46 ` syzbot
2 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-19 4:31 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-06-17 8:11 [syzbot] [bcachefs?] KMSAN: uninit-value in __bch2_alloc_v4_to_text syzbot
2025-06-19 4:31 ` [syzbot] #syz test syzbot
@ 2025-06-19 7:23 ` syzbot
2025-06-19 11:46 ` syzbot
2 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-19 7:23 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [syzbot] #syz test
2025-06-17 8:11 [syzbot] [bcachefs?] KMSAN: uninit-value in __bch2_alloc_v4_to_text syzbot
2025-06-19 4:31 ` [syzbot] #syz test syzbot
2025-06-19 7:23 ` syzbot
@ 2025-06-19 11:46 ` syzbot
2 siblings, 0 replies; 16+ messages in thread
From: syzbot @ 2025-06-19 11:46 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test
Author: abhinav.ogl@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2025-06-19 11:46 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-05 7:16 [syzbot] [i2c?] KMSAN: uninit-value in __i2c_smbus_xfer syzbot
2025-05-28 10:42 ` [syzbot] #syz test syzbot
2025-05-28 15:42 ` syzbot
2025-05-29 8:38 ` syzbot
2025-05-29 11:17 ` syzbot
2025-06-04 11:21 ` syzbot
-- strict thread matches above, loose matches on Subject: below --
2025-06-17 8:11 [syzbot] [bcachefs?] KMSAN: uninit-value in __bch2_alloc_v4_to_text syzbot
2025-06-19 4:31 ` [syzbot] #syz test syzbot
2025-06-19 7:23 ` syzbot
2025-06-19 11:46 ` syzbot
2025-05-26 10:41 [syzbot] [bcachefs?] KASAN: slab-out-of-bounds Read in bch2_sb_members_v2_to_text syzbot
2025-06-04 11:31 ` [syzbot] #syz test syzbot
2025-06-05 15:56 ` syzbot
2025-06-05 17:18 ` syzbot
2025-06-09 15:31 ` syzbot
2025-04-08 11:53 [syzbot] [bcachefs?] WARNING in bch2_dev_free syzbot
2025-04-12 18:04 ` [syzbot] #syz test syzbot
2025-04-04 7:02 [syzbot] [perf?] WARNING in __free_event syzbot
2025-04-05 17:12 ` [syzbot] #syz test syzbot
2025-04-05 19:32 ` syzbot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.