Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576628 - sys-kernel/hardened-sources-4.4.2: PAX size overflow detected in function diMount jfs_imap.c
Summary: sys-kernel/hardened-sources-4.4.2: PAX size overflow detected in function diM...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-06 19:17 UTC by Sam
Modified: 2016-07-24 14:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam 2016-03-06 19:17:14 UTC
When booting sys-kernel/hardened-sources-4.4.2 the jfs partitions fail to mount because PAX detects a size overflow. PAX' message reads as follows:

PAX: size overflow detected in function diMount fs/jfs/jfs_imap.c:143 cicus.289_68 max, count: 23, decl: inofree; num: 0; context: iagctl;
Comment 1 Anthony Basile gentoo-dev 2016-03-06 19:28:48 UTC
(In reply to Sam from comment #0)
> When booting sys-kernel/hardened-sources-4.4.2 the jfs partitions fail to
> mount because PAX detects a size overflow. PAX' message reads as follows:
> 
> PAX: size overflow detected in function diMount fs/jfs/jfs_imap.c:143
> cicus.289_68 max, count: 23, decl: inofree; num: 0; context: iagctl;

Looks like a classic overflow.
Comment 2 Emese Revfy 2016-03-06 20:58:17 UTC
This is a known problem:
https://forums.grsecurity.net/viewtopic.php?f=3&t=4398
Comment 3 Anthony Basile gentoo-dev 2016-03-06 21:34:58 UTC
(In reply to Emese Revfy from comment #2)
> This is a known problem:
> https://forums.grsecurity.net/viewtopic.php?f=3&t=4398

thanks Emese, is it fixed yet?
Comment 4 Emese Revfy 2016-03-07 16:00:11 UTC
(In reply to Anthony Basile from comment #3)
> (In reply to Emese Revfy from comment #2)
> > This is a known problem:
> > https://forums.grsecurity.net/viewtopic.php?f=3&t=4398
> 
> thanks Emese, is it fixed yet?

We are still waiting for the original reporter to report it upstream.
Comment 5 Sam 2016-03-07 21:42:21 UTC
Thanks for your swift replies! I sent a message to the maintainer of JFS, with Emese on CC.
Comment 6 Anthony Basile gentoo-dev 2016-07-21 16:51:12 UTC
(In reply to Sam from comment #5)
> Thanks for your swift replies! I sent a message to the maintainer of JFS,
> with Emese on CC.

Did upstream JFS work on this?  Did the fix trickle down yet?
Comment 7 Sam 2016-07-24 14:27:01 UTC
Not that I know of. The maintainer did post a brief message on GRSecurity forums back in March, though.

Personally, I decided to move away from JFS.
Comment 8 Anthony Basile gentoo-dev 2016-07-24 14:51:15 UTC
We'll come back to this if someone else hits it.