Shaurya Rane
300b072df7
jfs: fix uninitialized waitqueue in transaction manager
...
The transaction manager initialization in txInit() was not properly
initializing TxBlock[0].waitor waitqueue, causing a crash when
txEnd(0) is called on read-only filesystems.
When a filesystem is mounted read-only, txBegin() returns tid=0 to
indicate no transaction. However, txEnd(0) still gets called and
tries to access TxBlock[0].waitor via tid_to_tblock(0), but this
waitqueue was never initialized because the initialization loop
started at index 1 instead of 0.
This causes a 'non-static key' lockdep warning and system crash:
INFO: trying to register non-static key in txEnd
Fix by ensuring all transaction blocks including TxBlock[0] have
their waitqueues properly initialized during txInit().
Reported-by: syzbot+c4f3462d8b2ad7977bea@syzkaller.appspotmail.com
Signed-off-by: Shaurya Rane <ssrane_b23@ee.vjti.ac.in >
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com >
2025-09-18 09:08:11 -05:00
..
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-06-10 22:21:16 -04:00
2025-07-28 15:24:14 -07:00
2025-07-28 13:43:25 -07:00
2025-09-11 08:01:18 -07:00
2025-07-28 11:22:56 -07:00
2025-09-09 12:57:03 +02:00
2025-07-28 13:43:25 -07:00
2025-06-11 13:41:05 -04:00
2025-07-09 22:42:19 -07:00
2025-07-10 12:33:13 -07:00
2025-08-17 12:22:25 +02:00
2025-06-11 13:40:04 -04:00
2025-06-08 09:07:37 +02:00
2025-07-28 15:24:14 -07:00
2025-08-28 08:39:49 +02:00
2025-09-12 03:37:07 +08:00
2025-08-01 08:34:23 +09:00
2025-06-11 13:44:15 +02:00
2025-07-28 16:16:09 -07:00
2025-08-18 09:01:00 -07:00
2025-08-04 16:27:21 -07:00
2025-08-03 16:23:09 -07:00
2025-09-05 15:56:30 +02:00
2025-07-28 16:09:03 -07:00
2025-07-28 16:17:44 -07:00
2025-07-28 16:17:44 -07:00
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-07-31 14:57:54 -07:00
2025-08-11 14:51:49 +02:00
2025-07-28 09:17:57 -07:00
2025-08-13 14:24:14 -04:00
2025-07-28 13:43:25 -07:00
2025-09-18 09:08:11 -05:00
2025-09-06 20:11:27 +02:00
2025-07-28 13:43:25 -07:00
2025-08-15 15:56:49 +02:00
2025-09-08 14:37:55 -04:00
2025-08-05 16:45:40 -07:00
2025-08-11 07:38:55 -07:00
2025-07-28 15:24:14 -07:00
2025-07-31 10:31:00 -07:00
2025-07-28 13:43:25 -07:00
2025-09-08 23:45:11 -07:00
2025-07-28 13:43:25 -07:00
2025-07-31 10:22:48 -07:00
2025-08-18 13:16:49 +02:00
2025-09-08 23:45:12 -07:00
2025-07-02 22:36:51 -04:00
2025-04-08 11:24:36 +02:00
2025-07-28 13:43:25 -07:00
2025-09-09 12:43:36 +02:00
2025-06-19 13:56:59 +02:00
2025-09-09 18:39:58 -05:00
2025-08-19 16:35:53 -07:00
2025-06-17 10:44:09 +02:00
2025-07-28 09:56:09 -07:00
2025-07-31 10:08:44 -07:00
2025-07-28 16:16:09 -07:00
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-07-14 11:29:32 -07:00
2025-08-26 11:00:33 +02:00
2025-07-28 17:06:51 -07:00
2025-06-19 13:56:59 +02:00
2025-08-11 16:16:36 +02:00
2025-06-23 12:17:33 +02:00
2025-07-28 13:43:25 -07:00
2025-07-28 17:11:40 -07:00
2025-07-28 17:11:40 -07:00
2025-07-02 22:36:51 -04:00
2025-07-02 14:18:20 +02:00
2025-08-19 13:51:28 +02:00
2025-08-21 13:54:40 +02:00
2025-07-08 10:25:19 +02:00
2025-08-11 14:03:38 +02:00
2025-07-28 11:22:56 -07:00
2025-07-31 14:57:54 -07:00
2025-07-28 11:22:56 -07:00
2025-08-21 13:54:40 +02:00
2025-08-29 09:48:31 +02:00
2025-07-16 10:22:01 +02:00
2025-07-31 10:31:00 -07:00
2025-07-28 11:22:56 -07:00
2025-04-14 13:05:59 +02:00
2025-04-14 13:05:59 +02:00
2025-04-21 10:27:59 +02:00
2025-07-08 10:25:19 +02:00
2025-08-11 14:51:45 +02:00
2025-07-10 09:37:32 +02:00
2025-07-28 14:10:15 -07:00
2025-07-01 22:44:22 +02:00
2025-07-24 19:12:38 -07:00
2025-07-28 14:10:15 -07:00
2025-06-23 12:17:33 +02:00
2025-07-01 22:44:22 +02:00
2025-06-29 19:03:37 -04:00
2025-05-09 12:37:48 +02:00
2025-07-28 14:10:15 -07:00
2025-08-21 10:27:05 +02:00
2025-03-24 11:38:12 -07:00
2025-07-31 10:31:00 -07:00
2025-08-15 16:10:46 +02:00
2025-06-10 13:16:19 +02:00
2025-08-19 12:05:59 -04:00
2025-06-29 19:03:46 -04:00
2025-05-23 14:20:44 +02:00
2025-07-28 13:43:25 -07:00
2025-05-29 12:31:23 +02:00
2025-06-23 12:36:51 +02:00
2025-08-15 15:56:49 +02:00
2025-06-23 12:17:33 +02:00
2025-05-26 12:56:01 -07:00
2025-07-28 15:50:15 -07:00
2025-03-25 10:54:15 -07:00
2025-07-24 19:12:29 -07:00
2025-07-28 11:22:56 -07:00