lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <1200894966-10130-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Date: Mon, 21 Jan 2008 11:26:06 +0530 From: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com> To: tytso@....edu, cmm@...ibm.com Cc: linux-ext4@...r.kernel.org, "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com> Subject: [PATCH] ext4: Fix the BUG_ON in jbd2_journal_commit_transaction kunmap_atomic was passed the wrong argument. [ 394.122353] Call Trace: [ 394.128052] [<c01051fa>] show_trace_log_lvl+0x1a/0x30 [ 394.138643] [<c01052b9>] show_stack_log_lvl+0xa9/0xd0 [ 394.149239] [<c01053aa>] show_registers+0xca/0x1c0 [ 394.159310] [<c01055b6>] die+0x116/0x220 [ 394.167638] [<c03ffc61>] do_trap+0x91/0xc0 [ 394.176321] [<c01059a9>] do_invalid_op+0x89/0xa0 [ 394.185996] [<c03ffa2a>] error_code+0x72/0x78 [ 394.195208] [<c011dcff>] kmap_atomic+0x1f/0x30 [ 394.204613] [<c01fe63e>] jbd2_journal_commit_transaction+0x132e/0x15a0 [ 394.218206] [<c0202e51>] kjournald2+0xd1/0x3b0 [ 394.227590] [<c013d092>] kthread+0x42/0x70 [ 394.236298] [<c0104df3>] kernel_thread_helper+0x7/0x14 Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@...ux.vnet.ibm.com> --- fs/jbd2/commit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 2a081b7..2107820 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -359,7 +359,7 @@ static inline __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) addr = kmap_atomic(page, KM_USER0); checksum = crc32_be(crc32_sum, (void *)(addr + offset_in_page(bh->b_data)), bh->b_size); - kunmap_atomic(page, KM_USER0); + kunmap_atomic(addr, KM_USER0); return checksum; } -- 1.5.4.rc3.24.gb53139-dirty - To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists