{"push_id":2608681456,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b767b73ef027ba8d35f297c7d3659265ac80425b","before":"f7aaca126c387a52beea17033623a5d2f06a36ed","commits":[{"sha":"b767b73ef027ba8d35f297c7d3659265ac80425b","author":{"name":"Rafael David Tinoco","email":"e9d96b58e7d7be598dac0ee03bd42af86faea843@canonical.com"},"message":"cve-2017-5669: shmat() for 0 (or <PAGESIZE with RND flag) has to fail with REMAPs\n\nFixes: https://github.com/linux-test-project/ltp/issues/319\n\nAccording to upstream thread (https://lkml.org/lkml/2018/5/28/2056),\ncve-2017-5669 needs to address the \"new\" way of handling nil addresses\nfor shmat() when used with MAP_FIXED or SHM_REMAP flags.\n\n- mapping nil-page is OK on lower addresses with MAP_FIXED (or else X11 is broken)\n- mapping nil-page is NOT OK with SHM_REMAP on lower addresses\n\nAddresses Davidlohr Bueso's comments/changes:\n\ncommit 8f89c007b6de\nAuthor: Davidlohr Bueso <dave@stgolabs.net>\nDate:   Fri May 25 14:47:30 2018 -0700\n\n    ipc/shm: fix shmat() nil address after round-down when remapping\n\ncommit a73ab244f0da\nAuthor: Davidlohr Bueso <dave@stgolabs.net>\nDate:   Fri May 25 14:47:27 2018 -0700\n\n    Revert \"ipc/shm: Fix shmat mmap nil-page protection\"\n\nFor previously test, and now broken, made based on:\n\ncommit 95e91b831f87\nAuthor: Davidlohr Bueso <dave@stgolabs.net>\nDate:   Mon Feb 27 14:28:24 2017 -0800\n\n    ipc/shm: Fix shmat mmap nil-page protection\n\nSigned-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>\nTested-by: Naresh Kamboju <naresh.kamboju@linaro.org>\nReviewed-by: Jan Stancek <jstancek@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kraj/ltp/commits/b767b73ef027ba8d35f297c7d3659265ac80425b"}]}
{"actor":{"display_login":"kraj"}}