Document:

Exhibit 10.1

Exhibit 10.1

HEALTHSPRING, INC.

EXECUTIVE OFFICER CASH BONUS PLAN

Purpose and Administration of the Plan

This executive officer cash bonus plan (the “Bonus Plan”) has been established by HealthSpring, Inc. (the “Company”)
to encourage the achieving or exceeding of annual financial and other performance targets that the Company believes
will drive stockholder value and stock price appreciation. Awards paid under the Bonus Plan to Covered Officers (as
defined in the HealthSpring, Inc. 2006 Equity Incentive Plan, as amended from time to time (the “2006 Plan”)) are
intended to be Performance Awards made pursuant to Sections 8 and 11 of the 2006 Plan, except as otherwise expressly
provided by the Compensation Committee (the “Committee”), and are governed by the terms of the 2006 Plan. In the event
of any inconsistency between the terms of the Bonus Plan (with respect to such awards) and the 2006 Plan, the terms of
the 2006 Plan shall govern. Subject to applicable law, all designations, determinations, interpretations, and other
decisions under or with respect to the Bonus Plan or any award thereunder shall be within the sole discretion of the
Committee, may be made at any time, and shall be final, conclusive, and binding upon all persons. Capitalized terms
used but not defined herein shall have the meanings ascribed to such terms in the 2006 Plan.

Incentive Grant and Calculation; Payment of Awards

The Committee will from time to time, as near the beginning of each calendar year as practicable, make awards to the
designated officers (the “Participants”), pursuant to this Bonus Plan and Section 11 of the 2006 Plan, as set forth on
attachments to minutes or resolutions adopted at a meeting or meetings of the Committee. Such awards maybe made on
such additional terms as the Committee may prescribe consistent with Sections 8 and 11 of the 2006 Plan. Following the
end of each fiscal year, the Committee will make all calculations and determinations with respect to payment of bonuses
under the Bonus Plan in its sole discretion. Awards shall be paid within the two months and fifteen days following the
end of the fiscal year, or as soon as thereafter practicable after financial results for the fiscal year are known.
Awards pursuant to the Bonus Plan will be paid in cash and on such terms as the Committee may prescribe, unless the
Committee determines, in its sole discretion, to award Shares under the 2006 Plan in lieu of cash. Except as the
Committee may otherwise determine in its sole and absolute discretion, termination of a Participant’s employment prior
to the end of the fiscal year, other than for reasons of death or Disability, will result in the forfeiture of the
award by the Participant, and no payments shall be made with respect thereto. This Bonus Plan is not a “qualified”
plan for federal income tax purposes, and any payments are subject to applicable tax withholding requirements.
Notwithstanding the foregoing, the Committee shall retain the sole discretion to reduce (by any amount) the awards
otherwise payable pursuant to the achievement of the goals set forth in this Bonus Plan.

Miscellaneous Adjustments for Unusual or Nonrecurring Events

As more fully described in Section 11.2 of the 2006 Plan, the Committee is hereby authorized to make adjustments in the
terms and conditions of, and the criteria included in, awards in recognition of unusual or nonrecurring events
affecting any Participant, the Company, or any Subsidiary or Affiliate, or the financial statements of the Company or
of any Subsidiary or Affiliate; in the event of changes in applicable laws, regulations, or accounting principles; or
in the event the Committee determines that such adjustments are appropriate in order to prevent dilution or enlargement
of the benefits or potential benefits intended to be made available under the Bonus Plan. Performance Awards to
Participants, including Covered Officers, may be reduced, but not increased, in the sole discretion of the Committee
for any reason, including the Committee’s assessment of the individual performance of the Participant, in order to
avoid undeserved compensation or unwarranted windfalls.

No Right to Employment

The grant of an award shall not be construed as giving a Participant, including a Covered Officer, the right to be
retained in the employ of the Company or any Subsidiary or Affiliate.

1

 

1

 

No Trust or Fund Created

Neither the Bonus Plan nor any award shall create or be construed to create a trust or separate fund of any kind or a
fiduciary relationship between the Company or any Subsidiary or Affiliate and a Participant or any other person. To
the extent that any person acquires a right to receive payments from the Company or any Subsidiary or Affiliate
pursuant to an award, such right shall be no greater than the right of any unsecured general creditor of the Company or
any Subsidiary or Affiliate.

No Rights to Awards

No person shall have any claim to be granted any award and there is no obligation for uniformity of treatment among
Participants, regardless whether Participants are similarly situated. The terms and conditions of awards, if any, need
not be the same with respect to each Participant.

2

 

2exv10w1

Exhibit 10.1

Execution Version

COFFEYVILLE RESOURCES, LLC

FOURTH AMENDMENT TO THE

SECOND AMENDED AND RESTATED CREDIT AND GUARANTY AGREEMENT

AND CONSENT UNDER THE FIRST LIEN INTERCREDITOR AGREEMENT

     This FOURTH AMENDMENT TO THE SECOND AMENDED AND RESTATED CREDIT AND GUARANTY AGREEMENT AND
CONSENT UNDER THE FIRST LIEN INTERCREDITOR AGREEMENT, dated as of March 12, 2010 (this
“Amendment”), is entered into by and among COFFEYVILLE RESOURCES, LLC, a Delaware limited liability
company (“Company”), COFFEYVILLE PIPELINE, INC., a Delaware corporation (“Pipeline”), COFFEYVILLE
REFINING & MARKETING, INC., a Delaware corporation (“Refining”), COFFEYVILLE NITROGEN FERTILIZERS,
INC., a Delaware corporation (“Fertilizers”), COFFEYVILLE CRUDE TRANSPORTATION, INC., a Delaware
corporation (“Transportation”), COFFEYVILLE TERMINAL, INC., a Delaware corporation (“Terminal”), CL
JV HOLDINGS, LLC, a Delaware limited liability company (“CL JV” and together with Pipeline,
Refining, Fertilizers, Transportation and Terminal, collectively, “Current Holdings”) and CERTAIN
SUBSIDIARIES OF HOLDINGS, as Guarantors, the Lenders listed on the signature pages hereto, GOLDMAN
SACHS CREDIT PARTNERS L.P. and CREDIT SUISSE SECURITIES (USA) LLC, as Joint Lead Arrangers and
Joint Bookrunners (in such capacities, collectively, the “Arrangers”), CREDIT SUISSE AG, CAYMAN
ISLANDS BRANCH (f/k/a Credit Suisse, Cayman Islands Branch) as Administrative Agent, Collateral
Agent and Revolving Issuing Bank (in such capacities, collectively, the “Administrative Agent”),
and (solely for purposes of Section I of this Amendment) J. Aron & Company as a Hedge Counterparty
(as defined in the First Lien Intercreditor Agreement (as defined in this Amendment)) (“J. Aron”),
and is made with reference to that certain Second Amended and Restated Credit and Guaranty
Agreement, dated as of December 28, 2006 as amended by the First Amendment to the Second Amended
and Restated Credit and Guaranty Agreement dated as of August 23, 2007, the Second Amendment to the
Second Amended and Restated Credit and Guaranty Agreement dated as of December 22, 2008 and the
Third Amendment to the Second Amended and Restated Credit and Guaranty Agreement dated as of
October 2, 2009 (the “Current Credit Agreement”), by and among Company, Holdings, the Subsidiaries
of Holdings named therein, Lenders, Arrangers, Administrative Agent, and the other Agents party
thereto. Capitalized terms used herein not otherwise defined herein or otherwise amended hereby
shall have the meanings ascribed thereto in the Current Credit Agreement, and, for all purposes of
this Amendment (except as otherwise expressly provided), Sections 1.2 and 1.3 of the Current Credit
Agreement are hereby incorporated by reference, mutatis mutandis, as if fully set forth herein.

RECITALS:

     WHEREAS, the Credit Parties have requested that (i) the Required First Lien Creditors (as
defined in the First Lien Intercreditor Agreement (as defined in this Amendment)) and the Requisite
Lenders agree to amend certain provisions of the Current Credit Agreement as provided for herein
and (ii) J. Aron and the other Required First Lien Creditors consent to, and
agree to be bound by, each of (a) the Intercreditor Agreement (as defined in this Amendment)
and (b) the First Lien Intercreditor Agreement (as defined in this Amendment) described in

 

 

clause
(b) of the definition thereof set forth in this Amendment (the “New First Lien Intercreditor
Agreement”); and

     WHEREAS, subject to certain conditions set forth herein, (i) the Required First Lien Creditors
and the Requisite Lenders are willing to agree to such amendments to the Current Credit Agreement
and (ii) J. Aron and the other Required First Lien Creditors are willing to consent to, and agree
to be bound by, each of (a) the Intercreditor Agreement and (b) the New First Lien Intercreditor
Agreement.

     NOW, THEREFORE, in consideration of the premises and the agreements, provisions and covenants
herein contained, the parties hereto agree as follows:

SECTION I. CONSENT TO INTERCREDITOR AGREEMENT

     The Lenders executing this Amendment hereby consent to the Intercreditor Agreement, and each
of J. Aron and each other Required First Lien Creditor hereby authorizes and directs the Collateral
Agent to execute the Intercreditor Agreement, on behalf of J. Aron and such other Required First
Lien Creditors, in connection with the initial incurrence by Company, an SPV Co-Issuer and/or any
Holdings of Subordinated Lien Debt (as defined in this Amendment). Each of J. Aron and each other
Required First Lien Creditor hereby agrees to be bound as a First Lien Claimholder under (and as
defined in) the Intercreditor Agreement.

SECTION II. AMENDMENTS TO CURRENT CREDIT AGREEMENT

     A. Amendment to Exhibits.

Exhibit M is hereby added to the Current Credit Agreement as set forth on Exhibit A hereto
immediately after Exhibit L to the Current Credit Agreement.

     B. Amendments to Section 1: Definitions.

     (a) Section 1.1 of the Current Credit Agreement is hereby amended by adding the following
definitions in proper alphabetical sequence:

     “Current Holdings” as defined in the Fourth Amendment.

     “First Lien Intercreditor Agreement” means (a) prior to the initial issuance of First Lien
Refinancing Debt, the Intercreditor Agreement, dated as of December 28, 2006 (as it may be amended,
restated, supplemented or otherwise modified from time to time), among Company, the Collateral
Agent and J. Aron & Company, and (b) effective only on and after the First Lien Refinancing Debt
Incurrence Date, an intercreditor agreement (as it may be amended, restated, supplemented or
otherwise modified from time to time) satisfactory to the Required Lenders (after giving effect to
such First Lien Refinancing Debt Incurrence Date), J. Aron, each other party to the Intercreditor
Agreement as in effect at such time, the Administrative Agent, the Collateral Agent and the holders
of the First Lien Refinancing Debt issued as of such Date and such other agents or representatives
as may be party thereto at such time.

     “First Lien Refinancing Debt” means Indebtedness issued by Company and a SPV Co-

2

 

Issuer, which
may be guaranteed by any Credit Party or Parent and may be secured by either (i) Liens on
Collateral securing the Obligations pursuant to the Collateral Documents or (ii) separate Liens on
the Collateral pursuant to security documents substantially the same as the Collateral Documents;
provided that in either case such intercreditor agreements, Collateral Documents, security
documents, collateral trust agreements and all ancillary documentation executed in connection
therewith and all collateral security arrangements in respect thereof are satisfactory to the
Collateral Agent, J. Aron and the Required Lenders and the holders of which Indebtedness have a
claim on such Collateral that is pari passu to the claim of the Lenders, as governed by the then
applicable First Lien Intercreditor Agreement, and (a) the terms of which do not provide for any
scheduled or voluntary repayment, mandatory redemption or sinking fund obligation prior to the date
that is six months following the Revolving Commitment Termination Date (other than customary
acceleration rights after the occurrence of an event of default under such Indebtedness, and
customary asset sale or change of control provisions requiring redemption or repurchase); (b)
either (i) the covenants, events of default, guarantees and other terms of which (other than
interest rate and redemption premiums (if applicable)), taken as a whole, are not more restrictive
to the Credit Parties than those in this Agreement, or (ii) in the case of Indebtedness
constituting high yield debt securities, Company shall have furnished to the Administrative Agent a
certificate from an Authorized Officer of Company certifying that the terms of such Indebtedness
are customary for high yield debt securities and/or to the extent such terms are not customary for
high yield debt securities, such terms are not more restrictive to the Credit Parties than those in
this Agreement; and (c) under which no Subsidiary of Company other than a Guarantor is a guarantor;
provided that, in the case of any such Indebtedness, the Collateral Agent, a designated
representative on behalf of the holders of such Indebtedness and the Credit Parties shall have duly
executed and delivered an amendment and restatement of the First Lien Intercreditor Agreement as
set forth in clause (b) of the definition of First Lien Intercreditor Agreement. For the avoidance
of doubt, nothing in this definition of “First Lien Refinancing Debt” shall be construed to modify
any obligation of Company to prepay the Loans in accordance with this Agreement.

     “First Lien Refinancing Debt Documents” means, collectively, any indenture or other agreement
governing a Series of First Lien Refinancing Debt, any collateral or security documents executed in
connection therewith and any intercreditor or joinder agreement that holders of First Lien
Refinancing Debt Obligations are party to.

     “First Lien Refinancing Debt Incurrence Date” means the date of the initial incurrence by
Company and a SPV Co-Issuer of any First Lien Refinancing Debt in accordance with Section 6.1(u).

     “First Lien Refinancing Debt Obligations” means First Lien Refinancing Debt incurred or
arising under the First Lien Refinancing Debt Documents and all related obligations.

     “Fourth Amendment” means that certain Fourth Amendment to the Second Amended and Restated
Credit and Guaranty Agreement and Consent under the First Lien Intercreditor Agreement, dated as of
March 12, 2010, among Company, Holdings, the Arrangers, the Administrative Agent, the Collateral
Agent and the financial institutions and the Credit Parties listed on the signature pages thereto.

3

 

     “Fourth Amendment Effective Date” means the date of satisfaction or waiver by the Arrangers of
the conditions referred to in Section III of the Fourth Amendment.

     “Mortgaged Property” as defined in Section 6.21.

     “Series of First Lien Refinancing Debt” means, severally, any indenture and any other
Indebtedness that constitutes First Lien Refinancing Obligations.

     “Series of Subordinated Lien Debt” means, severally, any credit facility, indenture and any
other Indebtedness that constitutes Subordinated Lien Obligations.

     “SPV Co-Issuer” means a direct, wholly-owned Subsidiary of Company, (i) formed for the sole
purpose of issuing First Lien Refinancing Debt or Subordinated Lien Debt, that shall not engage in
any activity (or own any assets) other than issuing First Lien Refinancing Debt or Subordinated
Lien Debt and performing its obligations under the Credit Documents and activities related thereto
and (ii) that is a Guarantor.

     “Subordinated Lien Collateral Agent” means the trustee, agent or representative of the holders
of Subordinated Lien Debt who is appointed by such holders (or an agent, trustee or other
representative on their behalf) as a representative of such holders (for purposes related to the
administration of the security documents purporting to secure such Series of Subordinated Lien
Debt).

     “Subordinated Lien Debt” means Indebtedness issued by Company, an SPV Co-Issuer, and/or any
Holdings, which may be guaranteed by any Credit Party or Parent and may be secured by Liens on
Collateral granted in favor of the Subordinated Lien Collateral Agent (for the benefit of the
holders of the Subordinated Lien Obligations) pursuant to the Subordinated Lien Debt Documents and
the holders of which Indebtedness have a claim on such Collateral that is junior in priority to the
claim of the Collateral Agent (for the benefit of the Secured Parties), as governed by the
Intercreditor Agreement, (a) the terms of which do not provide for any scheduled or voluntary
repayment, mandatory redemption or sinking fund obligation prior to the date that is six months
following the later of the Term Loan Maturity Date and the Revolving Commitment Termination Date
(other than as permitted by Section 6.5(g), customary acceleration rights after the occurrence of
an event of default under such Indebtedness, and customary asset sale or change of control
provisions requiring redemption or repurchase); (b) either (i) the covenants, events of default,
guarantees and other terms of which (other than interest rate and redemption premiums (if
applicable)), taken as a whole, are not more restrictive to the Credit Parties than those in this
Agreement, or (ii) in the case of Indebtedness constituting high yield debt securities, Company
shall have furnished to the Administrative Agent a certificate from an Authorized Officer of
Company certifying that the terms of such Indebtedness are customary for high yield debt securities
and/or to the extent such terms are not customary for high yield debt securities, such terms are
not more restrictive to the Credit Parties than those in this Agreement; and (c) under which no
Subsidiary of Company other than a Guarantor is a guarantor; provided that, in the case of any such
Indebtedness, the Subordinated Lien Collateral Agent (as Subordinated Collateral Agent thereunder),
the Collateral Agent, and the Credit Parties have duly executed and delivered the Intercreditor
Agreement; provided further that, all such Indebtedness must be or become Subordinated Lien Debt
(as such term is, or will be, defined in

4

 

the Intercreditor Agreement); and provided further that, for the avoidance of doubt, in no
event shall such Indebtedness have a first Lien on the Collateral. For the avoidance of doubt, (x)
the secured parties under the Subordinated Lien Debt Documents may agree to further subordination
among themselves, and (y) nothing in this definition of “Subordinated Lien Debt” shall be construed
to modify any obligation of Company to prepay the Loans in accordance with this Agreement.

     “Subordinated Lien Debt Documents” means, collectively, any credit agreement, indenture or
other agreement governing a Series of Subordinated Lien Debt, any document granting a security
interest in favor of such Subordinated Lien Debt and any intercreditor or joinder agreement among
holders of Subordinated Lien Obligations.

     “Subordinated Lien Debt Incurrence Date” means the date of the initial incurrence by Company,
an SPV Co-Issuer, and/or any Holdings of any Subordinated Lien Debt in accordance with Section
6.1(c).

     “Subordinated Lien Obligations” means Subordinated Lien Debt incurred or arising under the
Subordinated Lien Documents and all related obligations.

     “Title Datedown Product” as defined in Section 6.21.

     (b) The following defined terms in Section 1.1 of the Current Credit Agreement are hereby
restated in their entireties as follows:

     “Agreement” means the Second Amended and Restated Credit and Guaranty Agreement, dated as of
December 28, 2006, as amended by the First Amendment, the Second Amendment the Third Amendment and
the Fourth Amendment, as it may be further amended, supplemented or otherwise modified from time to
time.

     “Collateral Documents” means the Pledge and Security Agreement, the First Lien Intercreditor
Agreement, the Intercreditor Agreement, the Mortgages, the Landlord Consents and Estoppels, if any,
and all other instruments, documents and agreements delivered by any Credit Party pursuant to this
Agreement or any of the other Credit Documents in order to grant to Collateral Agent, for the
benefit of the Lenders, a Lien on any real, personal or mixed property of that Credit Party as
security for the Obligations.

     “Consolidated Cash Interest Expense” means, for any period, Consolidated Interest Expense for
such period, excluding (i) any amount not payable in Cash and (ii) total interest expense of
Company and its Subsidiaries on a consolidated basis with respect to Credit Linked Deposits and
Funded Letters of Credit, including all commissions, discounts and other fees and charges owed with
respect thereto.

     “Holdings” means Current Holdings and any other direct or indirect parent company of any
Current Holdings that accedes to this Agreement as a Guarantor.

     “Intercreditor Agreement” means the First Lien and Subordinated Lien Intercreditor Agreement
to be executed in connection with the initial incurrence of the Subordinated Lien Debt, in
substantially the form attached as Exhibit M, as it may be amended, restated,

5

 

supplemented or otherwise modified from time to time.

     “Restricted Junior Payment” means (i) any dividend or other distribution, direct or indirect,
on account of any shares of any class of stock of Holdings or Company now or hereafter outstanding,
except a dividend or other distribution payable solely in shares of Capital Stock; (ii) any
redemption, retirement, sinking fund or similar payment, purchase or other acquisition for value,
direct or indirect, of any shares of any class of stock of Holdings or Company now or hereafter
outstanding; (iii) any payment made to retire, or to obtain the surrender of, any outstanding
warrants, options or other rights to acquire shares of any class of stock of Holdings or Company
now or hereafter outstanding; (iv) management or similar fees payable to Sponsors or any of its
Affiliates; (v) any payment or prepayment of principal of, premium, if any, or interest on, or
redemption, repurchase, retirement, defeasance (including in substance or legal defeasance),
sinking fund or similar payment with respect to obligations arising as a result of terminations or
reductions in the Swap Agreement; and (vi) after the Subordinated Lien Debt Incurrence Date, any
payment or prepayment of principal of, premium, if any, or interest on, or redemption, repurchase,
retirement, defeasance (including in substance or legal defeasance), sinking fund or similar
payment with respect to Subordinated Lien Debt.

     “Revolving Letter of Credit Sublimit” means the lesser of (i) $100,000,000 and (ii) the
aggregate unused amount of the Revolving Commitments then in effect.

     “Total Leverage Ratio” means the ratio as of the last day of any Fiscal Quarter or other date
of determination of (i) Consolidated Total Debt (calculated excluding Subordinated Lien Debt to the
extent the Subordinated Lien Debt Incurrence Date occurs on or prior to March 31, 2011) as of such
day to (ii) Consolidated Adjusted EBITDA for the four-Fiscal Quarter period ending on such date (or
if such date of determination is not the last day of a Fiscal Quarter, for the four-Fiscal Quarters
period ending as of the most recently concluded Fiscal Quarter).

     (c) The definition of “Available Amount” in Section 1.1 of the Current Credit Agreement is
hereby amended as follows:

     (i) by replacing the reference to “6.9(g)” in clause (b) with a reference “6.9(h)”; and

     (ii) by restating clause (c) in its entirety as follows:

“(c) the aggregate amount of payments made after the Effective Date and on or prior to the
Reference Date from the Available Amount as of such Reference Date pursuant to Section
6.5(a)(vii), 6.5(a)(viii), 6.5(c) and, after the Subordinated Lien Debt Incurrence Date,
Section 6.5(g).”

     (d) The definition of “Net Asset Sale Proceeds” in Section 1.1 of the Current Credit Agreement
is hereby amended by restating the parenthetical in clause (b) in its entirety as follows:

     “(other than the Loans, First Lien Refinancing Debt and Subordinated Lien Debt)”.

     (e) The definition of “Revolving Issuing Bank” in Section 1.1 of the Current Credit Agreement
is hereby amended by restating the last sentence thereof as follows:

6

 

“Credit Suisse, in its capacity as Revolving Issuing Bank, shall not be obligated to issue
Revolving Letters of Credit in excess of $75,000,000.”.

     C. Section 2.14(a) of the Current Credit Agreement is hereby restated in its entirety as
follows:

“(a) Asset Sales. No later than the first Business Day following the date of
receipt by Holdings or any of its Subsidiaries of any Net Asset Sale Proceeds, Company shall
prepay the Loans in an aggregate amount equal to such Net Asset Sale Proceeds; provided
that, so long as no Default or Event of Default shall have occurred and be continuing,
Company shall have the option, directly or through one or more of its Subsidiaries, to
invest Net Asset Sale Proceeds in an aggregate amount not to exceed $15,000,000 for each
Fiscal Year within twelve months of receipt thereof (or within eighteen months of receipt if
a binding agreement to reinvest is entered into within twelve months of receipt) in long
term productive or other capital assets of the general type used in the business of Company
and its Subsidiaries (including for Permitted Acquisitions).”

     D. Section 2.14(c) of the Current Credit Agreement is hereby restated in its entirety as
follows:

“(c) Issuance of Debt. No later than the first Business Day following the receipt
by Company, Holdings or any of their Subsidiaries of any Cash proceeds from the incurrence
of any Indebtedness by Company, Holdings or any of their Subsidiaries (including the
incurrence of First Lien Refinancing Debt and Subordinated Lien Debt, but excluding any
other Indebtedness permitted to be incurred pursuant to Section 6.1), Company shall prepay
the Loans as set forth in Section 2.15(b) in an aggregate amount equal to 100% of such
proceeds, net of market and underwriting discounts and commissions and other reasonable
costs and expenses associated therewith, including reasonable legal fees and expenses;
provided that, for the avoidance of doubt, any such payments shall include the prepayment
fee specified in Section 2.11(f).”

     E. Section 5.5 of the Current Credit Agreement is hereby amended as follows:

     (i) by replacing the words “Section 2.3 of the Intercreditor Agreement” with the words
“Section 2.3 of the First Lien Intercreditor Agreement” in each instance it appears; and

     (ii) by restating clause (i)(2)(y) in its entirety as follows:

“(y) the aggregate principal amount of outstanding Term Loans, First Lien
Refinancing Debt and Subordinated Lien Debt plus”.

     F. Section 5.16 of the Current Credit Agreement is hereby restated in its entirety as follows:

“5.16. Payment of Additional Fees. On each of July 1, 2010, October 1, 2010 and January 1,
2011, in the event that the Subordinated Lien Debt Incurrence Date shall not have occurred
prior to such date, the Administrative Agent shall have received from Company, for
distribution to all Lenders executing the Fourth Amendment which are

7

 

Lenders as of such date (which Lenders shall be identified by the Borrower to the
Administrative Agent at the time of such payment), an amount equal to 0.25% of the aggregate
of such Lenders’ Loans and Commitments outstanding as of such date.”

     G. Section 6.1 of the Current Credit Agreement is hereby amended as follows:

     (a) by restating clause (c) in its entirety as follows:

“(c) the Subordinated Lien Debt and any subsequent refinancing, extension, renewal,
amendment, modification, supplement, restructuring or replacement of any Subordinated Lien
Debt satisfying the criteria set forth in the Intercreditor Agreement and clauses (a), (b)
and (c) of, and the provisos to, the definition of “Subordinated Lien Debt” and issued or
incurred by Company, a SPV Co-Issuer, and/or any Holdings; provided that the initial
incurrence of Subordinated Lien Debt pursuant to this clause (c) must be in an aggregate
principal amount equal to at least $150,000,000 if the initial incurrence of First Lien
Refinancing Debt does not occur concurrently therewith and provided further that, (i) upon
the incurrence of any Subordinated Lien Debt (or any subsequent refinancing, extension,
renewal, amendment, modification, supplement, restructuring or replacement thereof), any
fees required to be paid pursuant to Section 2.11(f) shall have been paid; (ii) at least two
Business Days prior to the incurrence of any Subordinated Lien Debt (or any subsequent
refinancing, extension, renewal, amendment, modification, supplement, restructuring or
replacement thereof), Company shall deliver to the Administrative Agent a certificate of an
Authorized Officer of Company stating that Company, such SPV Co-Issuer, and/or such
Holdings, as applicable, will be Solvent after giving effect to the incurrence of such
Subordinated Lien Debt and the application of proceeds thereof; and (iii) at the time of and
immediately after giving effect to the incurrence of any Subordinated Lien Debt (or any
subsequent refinancing, extension, renewal, amendment, modification, supplement,
restructuring or replacement of any Subordinated Lien Debt), no Default or Event of Default
shall have occurred and be continuing;”; and

     (b) by deleting “and” from the end of clause (s), replacing the period at the end of clause
(t) with “; and”, and adding the following new clause (u) immediately following clause (t) of
Section 6.1 of the Current Credit Agreement:

“(u) up to a maximum aggregate amount of First Lien Refinancing Debt equal to $350,000,000
and any subsequent refinancing, extension, renewal, amendment, modification, supplement,
restructuring or replacement of any First Lien Refinancing Debt, in each case, up to a
maximum aggregate amount equal to $350,000,000 and satisfying the criteria set forth in the
amendment and restatement of the First Lien Intercreditor Agreement required in connection
with such issuance pursuant to clause (b) of the definition thereof and clauses (a), (b) and
(c) of, and the provisos to, the definition of “First Lien Refinancing Debt” and issued or
incurred by Company and SPV Co-Issuer; provided, that (i) if the First Lien Refinancing Debt
Incurrence Date and the Subordinated Lien Debt Incurrence Date occur concurrently, the
aggregate principal amount of the incurred First Lien Refinancing Debt shall in no event
exceed $350,000,000 and (ii) the Cash proceeds of the initial incurrence of First Lien
Refinancing Debt, together with, if applicable, the Cash proceeds of any Subordinated Lien
Debt incurred on the First Lien

8

 

Refinancing Debt Incurrence Date shall in no event be less than the aggregate principal
amount of the then outstanding Term Loans plus all interest, fees and other expenses
required to prepay in full such Term Loans in accordance with Section 2.14(c); and provided
further that, (A) upon the incurrence of any First Lien Refinancing Debt (or any subsequent
refinancing, extension, renewal, amendment, modification, supplement, restructuring or
replacement thereof), any fees required to be paid pursuant to Section 2.11(f) shall have
been paid; (B) at least two Business Days prior to the incurrence of any First Lien
Refinancing Debt (or any subsequent refinancing, extension, renewal, amendment,
modification, supplement, restructuring or replacement thereof), Company shall deliver to
the Administrative Agent a certificate of an Authorized Officer of Company stating that
Company, such SPV Co-Issuer will be Solvent after giving effect to the incurrence of such
First Lien Refinancing Debt and the application of proceeds thereof; and (C) at the time of
and immediately after giving effect to the incurrence of any First Lien Refinancing Debt (or
any subsequent refinancing, extension, renewal, amendment, modification, supplement,
restructuring or replacement of any First Lien Refinancing Debt), no Default or Event of
Default shall have occurred and be continuing; and provided further that no First Lien
Refinancing Debt may be issued unless the requirements of Section 6.21 are satisfied.”.

     H. Section 6.2 of the Current Credit Agreement is hereby amended as follows:

     (a) by restating clause (n) in its entirety as follows:

“(n) Liens on the Collateral securing the Subordinated Lien Obligations; provided that such
Liens are subordinated to the Liens securing the Obligations in accordance with the terms of
the Intercreditor Agreement;”; and

     (b) by deleting “and” from the end of clause (t), replacing the period at the end of clause
(u) with “; and”, and adding the following new clause (v) immediately following clause (u) of
Section 6.2 of the Current Credit Agreement:

“(v) Liens on the Collateral securing the First Lien Refinancing Debt Obligations; provided
that such Liens are subject to the First Lien Intercreditor Agreement described in clause
(b) of the definition thereof;”

     I. Section 6.4 of the Current Credit Agreement is hereby amended as follows:

     (a) inserting a new clause (d) immediately following clause (c) as follows:

“(d) the First Lien Refinancing Debt Documents and the Subordinated Lien Debt
Documents”; and

     (b) re-numbering clauses (d) and (e) to (e) and (f), respectively.

     J. Section 6.5 of the Current Credit Agreement is hereby amended as follows:

     (a) deleting the word “and” at the end of clause (d);

9

 

     (b) replacing the period at the end of clause (e) with a semi-colon; and

     (c) adding the following new clauses (f), (g) and (h) immediately following clause (e) of
Section 6.5 of the Current Credit Agreement:

“(f) any Credit Party may make regularly scheduled payments of interest in respect
of Subordinated Lien Debt in accordance with the terms of the Subordinated Lien Debt
Documents;

(g) so long as no Default or Event of Default has occurred and is continuing, or
would result therefrom, then after the Subordinated Lien Debt Incurrence Date, any
Credit Party may make prepayments of the Subordinated Lien Debt in an amount equal
to the Available Amount; and

(h) to the extent any refinancing, restructuring or replacement of any Subordinated
Lien Debt permitted by Section 6.1(c) constitutes a Restricted Junior Payment, such
Restricted Junior Payment will not be deemed prohibited by this Section 6.5.”.

     K. Section 6.6 of the Current Credit Agreement is hereby amended by adding the following
phrase immediately after the words “Except as provided herein”;

     “or in the First Lien Refinancing Debt Documents or the Subordinated Lien Debt Documents,”.

     L. Section 6.8(a) of the Current Credit Agreement is hereby amended by (a) replacing the
following:

	 	 	 
	March 31, 2009 and thereafter

	 	3.00:1.00

with the following:

	 	 	 
	March 31, 2009

	 	3.00:1.00
	June 30, 2009

	 	3.00:1.00
	September 30, 2009

	 	3.00:1.00
	December 31, 2009

	 	3.00:1.00
	March 31, 2010

	 	2.00:1.00
	June 30, 2010

	 	1.50:1.00

10

 

	 	 	 
	September 30, 2010

	 	1.50:1.00
	December 31, 2010

	 	2.00:1.00
	March 31, 2011 and thereafter

	 	3.00:1.00

and (b) adding the following sentence immediately following the above chart:

“Notwithstanding the foregoing, in the event that the Subordinated Lien Debt Incurrence Date
occurs on or prior to March 31, 2011, Company shall be required to maintain a minimum
Interest Coverage Ratio for each Fiscal Quarter occurring thereafter of the lesser of (x)
the Interest Coverage Ratio required for such Fiscal Quarter as set forth above and (y)
2.00:1.00.”

     M. Section 6.8(b) of the Current Credit Agreement is hereby amended by (a) replacing the
following:

	 	 	 
	March 31, 2009 and thereafter

	 	2.75:1.00

with the following:

	 	 	 
	March 31, 2009

	 	2.75:1.00
	June 30, 2009

	 	2.75:1.00
	September 30, 2009

	 	2.75:1.00
	December 31, 2009

	 	2.75:1.00
	March 31, 2010

	 	4.25:1.00
	June 30, 2010

	 	6.00:1.00
	September 30, 2010

	 	6.00:1.00
	December 31, 2010

	 	4.75:1.00
	March 31, 2011 and thereafter

	 	2.75:1.00

11

 

and (b) adding the following sentence immediately following the above chart:

“Notwithstanding the foregoing, Company shall not permit the Total Leverage Ratio as of the
last day of the Fiscal Quarters ending June 30, 2010 and September 30, 2010 to exceed
4.50:1.00, but solely, in each case, in the event that the Subordinated Lien Debt Incurrence
Date has occurred prior to such date.”

     N. Section 6.10 of the Current Credit Agreement is hereby amended by restating clause (ii) in
its entirety as follows:

“(ii) any pledge of the Capital Stock of any Credit Party or their Subsidiaries to secure
the Obligations hereunder or the Obligations under any Hedge Agreement, and except as
provided in the First Lien Debt Documents, the Subordinated Lien Debt Documents or other
Hedge Agreements (to the extent permitted by Section 6.20)”.

     O. Section 6.14 of the Current Credit Agreement is hereby amended by restating clause (a) in
its entirety as follows:

“(a) incur, directly or indirectly, any Indebtedness or any other obligation or liability
whatsoever other than the Indebtedness and obligations under the Swap Agreement, other
Commodity Agreements to the extent permitted by Section 6.20 and other Indebtedness
permitted under Sections 6.1(b), (c), (p), (s) and (u);”.

     P. Section 6.16 of the Current Credit Agreement is hereby restated in its entirety as follows:

“6.16 Amendments or Waivers with respect to the First Lien Refinancing Debt Documents and
the Subordinated Lien Debt Documents.

(a) No Credit Party shall, nor shall it permit any of its Subsidiaries to, amend or
otherwise change the terms of the First Lien Refinancing Debt Documents, unless (a) such
amendment or change is permitted by this Agreement and not restricted by the First Lien
Intercreditor Agreement and (b) the Indebtedness issued under the First Lien Refinancing
Debt Documents satisfies the criteria set forth in clauses (a), (b) and (c) of the
definition of First Lien Refinancing Debt.

(b) No Credit Party shall, nor shall it permit any of its Subsidiaries to, amend or
otherwise change the terms of the Subordinated Lien Debt Documents, unless (a) such
amendment or change is permitted by this Agreement and not restricted by the Intercreditor
Agreement and (b) the Indebtedness issued under the Subordinated Lien Debt Documents
satisfies the criteria set forth in clauses (a), (b) and (c) of the definition of
Subordinated Lien Debt.”.

     Q. Section 6 of the Current Credit Agreement is hereby amended by inserting a new Section 6.21
immediately following Section 6.20 as follows:

“6.21. First Lien Refinancing Debt. Company or any of the Guarantors may not incur
Indebtedness under Section 6.1(u) unless it has entered into a First Lien Intercreditor

12

 

Agreement as contemplated by clause (b) of the definition thereof and:

(1) with respect to any real property Collateral:

(a) Company and the Guarantors shall enter into, and deliver to the Collateral Agent, in the
reasonable discretion of the Collateral Agent, a mortgage modification or new Mortgage with
regard to each Real Estate Asset subject to a Mortgage (each a “Mortgaged Property”) at the
time of such incurrence, in proper form for recording in all applicable jurisdictions, in a
form reasonably satisfactory to the Collateral Agent and the Required First Lien Creditors
(as such term is defined in the First Lien Intercreditor Agreement);

(b) Company or the applicable Guarantor will cause to be delivered a local counsel opinion
with respect to each such Mortgaged Property entered into pursuant to clause (a) above in
form and substance, and issued by law firms, in each case, reasonably satisfactory to the
Collateral Agent;

(c) Company or the applicable Guarantor will cause a title company reasonably approved by
the Collateral Agent to have delivered to the Collateral Agent an endorsement to each title
insurance policy then in effect for the benefit of the Secured Parties, date down(s) or
other evidence reasonably satisfactory to the Collateral Agent (which may include a new
title insurance policy) (each such delivery, a “Title Datedown Product”), in each case
insuring that (i) the priority of the Lien of the applicable Mortgage(s) as security for the
Obligations has not changed and if a new Mortgage is entered into, that the Lien of such new
Mortgage securing the First Lien Refinancing Debt then being incurred shall have the same
priority as any existing Mortgage securing the Obligations, (ii) since the later of the
original date of such title insurance product and the date of the Title Datedown Product
delivered most recently prior to (and not in connection with) such additional Indebtedness,
there has been no change in the condition of title and (iii) there are no intervening liens
or encumbrances which may then or thereafter take priority over the Lien of the applicable
Mortgage(s), in each case other than with respect to Permitted Liens; and

(d) Company or the applicable Guarantor will, upon the reasonable request of the Collateral
Agent, deliver to the approved title company, the Collateral Agent and/or all other relevant
third parties all other items reasonably necessary to maintain the continuing priority of
(i) the Lien of the Mortgages as security for the Obligations and (ii) any other Mortgages
which secure First Lien Refinancing Debt.

(2) with respect to any personal property Collateral:

(a) Company and the Guarantors shall enter into, and deliver to the Collateral Agent, in the
sole discretion of the Collateral Agent, either (x) amendments to this Agreement and the
Collateral Documents that permit the obligations with respect to such First Lien Refinancing
Debt to be secured pari passu with the Obligations or (y) additional security and collateral
documents which are substantially similar to the Collateral Documents, in each case, in a
form reasonably satisfactory to the Collateral Agent and the Required First

13

 

Lien Creditors;

(b) Company or the applicable Guarantor will cause to be delivered opinions of local and
other counsel with respect to such personal property Collateral in form and substance, and
issued by law firms, in each case, reasonably satisfactory to the Collateral Agent; and

(c) Company or the applicable Guarantor will, upon the request of the Collateral Agent, take
all actions reasonably necessary to maintain the continuing priority of the Liens securing
the Obligations and any other Liens which secure First Lien Refinancing Debt such that any
other Liens securing First Lien Refinancing Debt shall have the same priority as any
existing Liens securing the Obligations and the priority of the Liens security the
Obligations shall not be affected by the incurrence of the First Lien Refinancing Debt.”

     R. Section 7.9 of the Current Credit Agreement is hereby amended by replacing the words
“Intercreditor Agreement” with the words “First Lien Intercreditor Agreement and Intercreditor
Agreement”.

     S. Section 8.1 of the Current Credit Agreement is hereby amended by:

(i) deleting the word “or” at the end of clause (l);

(ii) inserting the word “or” at the end of clause (m); and

(iii) inserting a new paragraph (n) immediately following paragraph (m) as follows:

“(n) At any time after the execution and delivery by a Parent of a guaranty of the
obligations of Company or any Holdings under any Subordinated Lien Indebtedness, such Parent
makes a payment under such guaranty in amount in excess of the amount that would be
permitted to be made if the Parent were subject to Section 6.5,”.

     T. Section 9.2(b) of the Current Credit Agreement is hereby amended by replacing the words
“Intercreditor Agreement” with the words “First Lien Intercreditor Agreement, Intercreditor
Agreement” in each instance it appears.

     U. Section 9.7(a) of the Current Credit Agreement is hereby amended by replacing the words
“Intercreditor Agreement” with the words “First Lien Intercreditor Agreement and Intercreditor
Agreement” in each instance it appears.

     V. Appendix B to the Current Credit Agreement is hereby amended by replacing the words
“Coffeyville Resources, LLC, 10 East Cambridge Circle, Suite #250, Kansas City, Kansas 66103,
Attention: James T. Rens, Telecopier: (913) 981-0000” with the words “Coffeyville Resources, LLC,
2277 Plaza Drive, Suite 500, Sugar Land, TX 77479, Attention: Edward Morgan, Telecopier: (281)
207-3389”.

SECTION III. CONDITIONS PRECEDENT TO EFFECTIVENESS

14

 

     This Amendment shall become effective as of the date hereof only upon the satisfaction or
waiver by the Arrangers of all of the following conditions precedent (the date of satisfaction of
such conditions being referred to herein as the “Fourth Amendment Effective Date”):

     A. Execution. The Administrative Agent shall have received a counterpart signature
page of this Amendment duly executed by each of the Credit Parties, the Required First Lien
Creditors and the Requisite Lenders.

     B. Fees. The Administrative Agent shall have received (i) for distribution to all
Lenders executing this Amendment, an upfront fee in an amount equal to 0.75% of the aggregate of
such Lenders’ Loans and Commitments outstanding as of the Fourth Amendment Effective Date and (ii)
all other fees and other amounts due and payable on or prior to the Fourth Amendment Effective Date
(other than any fees or other amounts due and payable to GSCP, in its capacity as an Arranger),
including, to the extent invoiced, reimbursement or other payment of all out-of-pocket expenses
required to be reimbursed or paid by Company hereunder or any other Credit Document. GSCP, in its
capacity as an Arranger, shall have received all fees and other amounts due and payable on or prior
to the Fourth Amendment Effective Date, including, to the extent invoiced, reimbursement or other
payment of all out-of-pocket expenses required to be reimbursed or paid by Company hereunder or any
other Credit Document. All such fees shall be non-refundable.

     C. Necessary Consents. Each Credit Party shall have obtained all material consents
necessary in connection with the transactions contemplated by this Amendment.

     D. Other Documents. On or before the Fourth Amendment Effective Date, the Arrangers
shall have received such other documents, information or agreements regarding Credit Parties as the
Arrangers may reasonably request.

SECTION IV. REPRESENTATIONS AND WARRANTIES

     A. Corporate Power and Authority. Each Credit Party, which is party hereto, has all
requisite power and authority to enter into this Amendment and to carry out the transactions
contemplated by, and perform its obligations under, the Current Credit Agreement as amended by this
Amendment (the “Amended Agreement”) and the other Credit Documents.

     B. Authorization of Agreements. The execution and delivery of this Amendment and the
performance of the Amended Agreement and the other Credit Documents have been duly authorized by
all necessary action on the part of each Credit Party that is a party thereto.

     C. No Conflict. The execution and delivery by each Credit Party of this Amendment and
the performance by each Credit Party of the Amended Agreement and the other Credit Documents do not
and will not (i) violate (A) any material provision of any law, statute, rule or regulation, or of
the certificate or articles of incorporation or partnership agreement, other constitutive documents
or by-laws of Holdings, Company or any Credit Party or (B) any applicable order of any court or any
rule, regulation or order of any Governmental Authority, (ii) be in conflict with, result in a
breach of or constitute (alone or with notice or lapse of time or both) a default under any
Contractual Obligation of the applicable Credit Party (other than (1) the Current Credit Agreement,
(2) the First Lien Intercreditor Agreement and (3) each Interest

15

 

Rate Agreement, Currency Agreement and Commodity Agreement of a Credit Party in effect as of
the date of this Amendment), where any such conflict, violation, breach or default referred to in
clause (i) or (ii) of this Section IV.C., individually or in the aggregate could reasonably be
expected to have a Material Adverse Effect, (iii) be in conflict with, result in a breach of or
constitute (alone or with notice or lapse of time or both) a default under (A) the Current Credit
Agreement, (B) the First Lien Intercreditor Agreement or (C) any Interest Rate Agreement, Currency
Agreement or Commodity Agreement of a Credit Party in effect as of the date of this Amendment, (iv)
except as permitted under the Amended Agreement, result in or require the creation or imposition of
any Lien upon any of the properties or assets of each Credit Party (other than any Liens created
under any of the Credit Documents in favor of Collateral Agent on behalf of Lenders), or (v)
require any approval of stockholders or partners or any approval or consent of any Person under any
Contractual Obligation of each Credit Party, except for such approvals or consents which will be
obtained on or before the Fourth Amendment Effective Date and except for any such approvals or
consents the failure of which to obtain will not have a Material Adverse Effect.

     D. Binding Obligation. This Amendment has been duly executed and delivered by each of
the Credit Parties party to the Amended Agreement and each constitutes a legal, valid and binding
obligation of such Credit Party to the extent a party thereto, enforceable against such Credit
Party in accordance with its terms, except as enforceability may be limited by bankruptcy,
insolvency, moratorium, reorganization or other similar laws affecting creditors’ rights generally
and except as enforceability may be limited by general principles of equity (regardless of whether
such enforceability is considered in a proceeding in equity or at law).

     E. Governmental Consents. No action, consent or approval of, registration or filing
with or any other action by any Governmental Authority is or will be required in connection with
the execution and delivery by each Credit Party of this Amendment and the performance by Company
and Holdings of the Amended Agreement and the other Credit Documents, except for such actions,
consents and approvals the failure to obtain or make which could not reasonably be expected to
result in a Material Adverse Effect or which have been obtained and are in full force and effect.

     F. Incorporation of Representations and Warranties From Credit Documents. The
representations and warranties contained in Section 4 of the Current Credit Agreement are and will
be true and correct in all material respects on and as of the Fourth Amendment Effective Date to
the same extent as though made on and as of that date, except to the extent such representations
and warranties specifically relate to an earlier date, in which case they were true and correct in
all material respects on and as of such earlier date.

     G. Absence of Default. No event has occurred and is continuing or will result from
the consummation of the transactions contemplated by this Amendment that would constitute an Event
of Default or a Default.

     H. Termination of Swap Agreement and Funded Letter of Credit Commitments. The Swap
Agreement (including all transactions effected thereunder) has been terminated and is of no further
force and effect. In connection therewith, the Funded Letter of Credit Commitments have been
terminated and the Funded Letter of Credit Termination Date

16

 

has occurred.

SECTION V. CREDIT SUPPORT PARTY ACKNOWLEDGMENT AND CONSENT

     Each Domestic Subsidiary and Holdings are referred to herein as a “Credit Support Party” and
collectively as the “Credit Support Parties”, and the Credit Documents to which they are a party
are collectively referred to herein as the “Credit Support Documents”.

     Each Credit Support Party hereby acknowledges that it has reviewed the terms and provisions of
the Current Credit Agreement and this Amendment and consents to the amendment of the Current Credit
Agreement effected pursuant to this Amendment. Each Credit Support Party hereby confirms that each
Credit Support Document to which it is a party or otherwise bound and all Collateral encumbered
thereby will continue to guarantee or secure, as the case may be, to the fullest extent possible in
accordance with the Credit Support Documents the payment and performance of all “Obligations” under
each of the Credit Support Documents to which it is a party (in each case as such terms are defined
in the applicable Credit Support Document).

     Each Credit Support Party acknowledges and agrees that any of the Credit Support Documents to
which it is a party or otherwise bound shall continue in full force and effect and that all of its
obligations thereunder shall be valid and enforceable and shall not be impaired or limited (except
as expressly provided herein) by the execution or effectiveness of this Amendment. Each Credit
Support Party represents and warrants that all representations and warranties contained in the
Amended Agreement and the Credit Support Documents to which it is a party or otherwise bound are
true and correct in all material respects on and as of the Fourth Amendment Effective Date to the
same extent as though made on and as of that date, except to the extent such representations and
warranties specifically relate to an earlier date, in which case they were true and correct in all
material respects on and as of such earlier date.

     Each Credit Support Party acknowledges and agrees that (i) notwithstanding the conditions to
effectiveness set forth in this Amendment, such Credit Support Party is not required by the terms
of the Current Credit Agreement or any other Credit Support Document to consent to the amendments
to the Current Credit Agreement effected pursuant to this Amendment and (ii) nothing in the Current
Credit Agreement, this Amendment or any other Credit Support Document shall be deemed to require
the consent of such Credit Support Party to any future amendments to the Current Credit Agreement
or the Amended Agreement.

SECTION VI. MISCELLANEOUS

     A. Reference to and Effect on the Current Credit Agreement and the Other Credit Documents.

          (1) On and after the Fourth Amendment Effective Date, each reference in the Current Credit
Agreement to “this Agreement”, “hereunder”, “hereof”, “herein” or words of like import referring to
the Current Credit Agreement, and each reference in the other Credit Documents to the “Credit
Agreement”, “thereunder”, “thereof” or words of like import referring to the Current Credit
Agreement shall mean and be a reference to the Current Credit Agreement as amended by this
Amendment.

17

 

          (2) Except as specifically amended by this Amendment, the Current Credit Agreement and the
other Credit Documents shall remain in full force and effect and are hereby ratified and confirmed.

          (3) The execution, delivery and performance of this Amendment shall not constitute a waiver
of any provision of, or operate as a waiver of any right, power or remedy of any Agent or Lender
under, the Current Credit Agreement or any of the other Credit Documents.

     B. Severability. In case any provision in or obligation hereunder shall be invalid,
illegal or unenforceable in any jurisdiction, the validity, legality and enforceability of the
remaining provisions or obligations, or of such provision or obligation in any other jurisdiction,
shall not in any way be affected or impaired thereby.

     C. Execution. The execution, delivery and performance of this Amendment shall not,
except as expressly provided herein, constitute a waiver of any provision of, or operate as a
waiver of any right, power or remedy of any Agent or Lender under, the Current Credit Agreement or
any of the other Credit Documents.

     D. Headings. Section and Subsection headings in this Amendment are included herein
for convenience of reference only and shall not constitute a part of this Amendment for any other
purpose or be given any substantive effect.

     E. APPLICABLE LAW. THIS AGREEMENT AND THE RIGHTS AND OBLIGATIONS OF THE PARTIES
HEREUNDER SHALL BE GOVERNED BY, AND SHALL BE CONSTRUED AND ENFORCED IN ACCORDANCE WITH, THE LAWS OF
THE STATE OF NEW YORK WITHOUT REGARD TO PRINCIPLES OF CONFLICTS OF LAWS (OTHER THAN SECTIONS 5-1401
AND 5-1402 OF THE NEW YORK GENERAL OBLIGATIONS LAW). THE PARTIES HEREUNDER SHALL WAIVE ANY RIGHT
TO TRIAL BY JURY.

     F. Counterparts. This Amendment may be executed in any number of counterparts and by
different parties hereto in separate counterparts, each of which when so executed and delivered
shall be deemed an original, but all such counterparts together shall constitute but one and the
same instrument; signature pages may be detached from multiple separate counterparts and attached
to a single counterpart so that all signature pages are physically attached to the same document.
Delivery of an executed counterpart of a signature page of this Amendment by facsimile transmission
or electronic transmission (including pdf format) will be effective as delivery of a manually
executed counterpart hereof.

[Remainder of this page intentionally left blank.]

18

 

     IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be duly executed and
delivered by their respective officers thereunto duly authorized as of the date first written
above.

	 	 	 	 	 
	 	COFFEYVILLE RESOURCES, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE PIPELINE, INC.

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE REFINING & MARKETING, INC.

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE NITROGEN FERTILIZERS, INC.

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 

 

 

	 	 	 	 	 

	 	 	 	 	 
	 	COFFEYVILLE CRUDE TRANSPORTATION, INC.

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE TERMINAL, INC.

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	CL JV HOLDINGS, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE RESOURCES PIPELINE, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE RESOURCES REFINING & MARKETING, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 

[Coffeyville Fourth Amendment and Consent]

 

 

	 	 	 	 	 
	 	COFFEYVILLE RESOURCES NITROGEN FERTILIZERS, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE RESOURCES CRUDE TRANSPORTATION, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	COFFEYVILLE RESOURCES TERMINAL, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 
	 	CVR PARTNERS, LP

 	 
	 	By:  	 CVR GP, LLC, its managing general partner
 	 
	 	 	 
	 	By:  	                          /s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 

[Coffeyville Fourth Amendment and Consent]

 

 

	 	 	 	 	 
	 	CVR SPECIAL GP, LLC

 	 
	 	By:  	/s/ Edward Morgan
 	 
	 	 	Name:  	Edward Morgan 	 
	 	 	Title:  	Chief Financial Officer 	 
	 

[Coffeyville Fourth Amendment and Consent]

 

 

	 	 	 	 	 
	 	CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH 
 (f/k/a Credit
Suisse, Cayman Islands Branch),

as Administrative Agent, Collateral Agent, Swing
 Line
Lender and Revolving Issuing Bank and a
 Lender

 	 
	 	By:  	/s/ Mikhail Faybusovich
 	 
	 	 	Name:  	Mikhail Faybusovich 	 
	 	 	Title:  	Vice President 	 
	 
	 	 	 
	 	By:  	                   /s/ Vipul Dhadda
 	 
	 	 	Name:  	Vipul Dhadda 	 
	 	 	Title:  	Associate 	 
	 

[Coffeyville Fourth Amendment and Consent]

 

 

	 	 	 	 	 
	 	Solely for purposes of Section I of this Amendment:

J. ARON & COMPANY,

as a Hedge Counterparty (as defined in the First Lien

Intercreditor Agreement)

 	 
	 	By:  	/s/ (illegible)
 	 
	 	 	Name:  	(illegible) 	 
	 	 	Title:  	Managing Director 	 
	 

[Coffeyville Fourth Amendment and Consent]

 

 

Exhibit A

Exhibit M to Credit Agreement

FORM OF INTERCREDITOR AGREEMENT

 

 

EXECUTION VERSION

FIRST AND SUBORDINATED LIEN INTERCREDITOR AGREEMENT

          This FIRST AND SUBORDINATED LIEN INTERCREDITOR AGREEMENT, is dated as of [          ], 2010
and entered into by and among COFFEYVILLE RESOURCES, LLC, a Delaware limited liability company (the
“Company”), WILMINGTON TRUST FSB, a federal savings bank incorporated under the laws of the United
States of America (“Wilmington Trust”), in its capacity as collateral agent for the First Lien
Claimholders (as defined below), including its successors and assigns from time to time (the “First
Lien Collateral Agent”), and WILMINGTON TRUST FSB, a federal savings bank incorporated under the
laws of the United States of America, in its capacity as collateral trustee for itself and the
Subordinated Lien Claimholders, in each case, referenced below, including its successors and
assigns from time to time (the “Subordinated Collateral Trustee”). Capitalized terms used in this
Agreement have the meanings set forth in Section 1 below.

RECITALS

          WHEREAS, the Company, certain Affiliates of the Company as guarantors party thereto, the
various lenders party thereto, Goldman Sachs Credit Partners L.P. (“GSCP”) and CREDIT SUISSE AG,
Cayman Islands (formerly known as Credit Suisse, Cayman Islands Branch, “Credit Suisse”), as joint
lead arrangers and joint bookrunners (the “Arrangers”), Credit Suisse, as administrative agent and
the other agents party thereto have entered into that certain Second Amended and Restated Credit
and Guaranty Agreement, dated as of December 28, 2006, as amended by the First Amendment to the
Second Amended and Restated Credit and Guaranty Agreement, dated as of August 23, 2007, the Second
Amendment to the Second Amended and Restated Credit and Guaranty Agreement, dated as of December
22, 2008, the Third Amendment to the Second Amended and Restated Credit and Guaranty Agreement,
dated as of October 2, 2009, and the Fourth Amendment to the Second Amended and Restated Credit and
Guaranty Agreement dated as of March 12, 2010 (the “Fourth Amendment”), initially providing for
credit facilities in the aggregate amount of $1,075,000,000 (as further amended, restated,
supplemented, modified, replaced or Refinanced from time to time, the “First Lien Credit
Agreement”);

          WHEREAS, the Company, certain Affiliates of the Company as guarantors party thereto, and
certain hedge counterparties have entered into certain Hedge Agreements;

          WHEREAS, the Company, certain Affiliates of the Company as guarantors party thereto,
Wilmington Trust, as collateral trustee, and [_________], as “Subordinated Collateral Trustee”,
are party to that certain Indenture dated as of the date hereof (as amended, restated,
supplemented, modified, replaced or Refinanced from time to time, the “Second Lien Notes
Indenture”);

 

 

          WHEREAS, the First Lien Obligations are secured on a first priority basis by Liens on
substantially all of the assets of the Company, Holdings and certain Subsidiaries (such
Subsidiaries and any future Subsidiaries of the Company providing a guaranty thereof, the
“Guarantor Subsidiaries” and together with Holdings, the “Guarantors”), pursuant to the terms of
the First Lien Collateral Documents;

          WHEREAS, pursuant to the Fourth Amendment, the Requisite Lenders (as defined in the First Lien
Credit Agreement) and the Required First Lien Creditors (as defined in the First Lien Intercreditor
Agreement) have agreed to permit the incurrence of Subordinated Lien Debt, including the Second
Lien Notes (as defined below);

          WHEREAS, the Second Lien Notes will be secured on a second priority basis by Liens on
substantially all of the assets of the Company, Holdings and the Guarantor Subsidiaries, pursuant
to the terms of the Second Lien Collateral Documents (as defined below);

          WHEREAS, the Company has requested the ability to incur additional Indebtedness secured by
Liens subordinate to the Liens securing the First Lien Obligations, including Liens subordinate to
the Liens securing the Second Lien Notes;

          WHEREAS, the First Lien Documents and the Subordinated Lien Documents provide, among other
things, that the parties thereto shall set forth in this Agreement their respective rights and
remedies with respect to the Collateral; and

          WHEREAS, in order to induce the First Lien Collateral Agent and the First Lien Claimholders to
consent to the Grantors incurring the Subordinated Lien Obligations and to induce the First Lien
Claimholders to continue to extend credit and other financial accommodations and lend monies to or
for the benefit of the Company, or any other Grantor, the Subordinated Collateral Trustee on behalf
of each Subordinated Lien Claimholder has agreed to the subordination, intercreditor and other
provisions set forth in this Agreement.

          NOW, THEREFORE, in consideration of the foregoing, the mutual covenants and obligations herein
set forth and for other good and valuable consideration, the sufficiency and receipt of which are
hereby acknowledged, the parties hereto, intending to be legally bound, hereby agree as follows:

          SECTION 1. Definitions.

          1.1 Defined Terms. As used in the Agreement, the following terms shall have the
following meanings:

          “Affiliate” means, with respect to a specified Person, another Person that directly, or
indirectly through one or more intermediaries, controls or is controlled by or is under common
control with the Person specified. For purposes of this definition, a Person shall be deemed to
“control” or be “controlled by” a Person if such Person possesses, directly or indirectly, power to
direct or cause the direction of the management

2

 

or policies of such Person whether through ownership of equity interests, by contract or
otherwise.

          “Affiliate Securities” means all “securities” of any “affiliates” (as the terms “securities”
and “affiliates” are used in Rule 3-16 of Regulation S-X under the Securities Act of 1933, as
amended from time to time, and any successor statute) of the Company, as issuer of the Second Lien
Notes.

          “Agreement” means this Intercreditor Agreement.

          “Bankruptcy Code” means Title 11 of the United States Code entitled “Bankruptcy,” as now and
hereafter in effect, or any successor statute.

          “Bankruptcy Law” means the Bankruptcy Code and any similar federal, state or foreign law for
the relief of debtors.

          “Business Day” means any day that is not a Saturday, Sunday or other day on which commercial
banks in New York City are authorized or required by law to close.

          “Cap Amount” has the meaning assigned to that term in the definition of “First Lien
Obligations.”

          “Collateral” means all of the assets and property of any Grantor, whether real, personal or
mixed, constituting First Lien Collateral and/or Subordinated Lien Collateral.

          “Collateral Documents” means the First Lien Collateral Documents and the Subordinated Lien
Collateral Documents.

          “Commodity Hedge Agreements” means any commodity exchange, swap, forward, cap, floor collar or
other similar agreement or arrangement, each of which is for the purpose of hedging the exposure of
the Company and its Affiliates to fluctuations in the price of nitrogen fertilizers, hydrocarbons
and refined products in their operations and not for speculative purposes.

          “Comparable Subordinated Lien Collateral Document” means, in relation to any Collateral
subject to any Lien created under any First Lien Collateral Document, each Subordinated Lien
Collateral Document which creates a Lien on the same Collateral, granted by the same Grantor.

          “Currency Agreement” means any foreign exchange contract, currency swap agreement, futures
contract, option contract, synthetic cap or other similar agreement or arrangement, each of which
is for the purpose of hedging the foreign currency risk associated with the operations of the
Company and/or its Affiliates and not for speculative purposes.

3

 

          “Discharge of First Lien Obligations” means, except to the extent otherwise expressly provided
in Section 5.5:

          (a) payment in full in cash of the principal of and interest (including interest accruing on
or after the commencement of any Insolvency or Liquidation Proceeding, whether or not such interest
would be allowed in such Insolvency or Liquidation Proceeding), on all Indebtedness outstanding
under the First Lien Documents and constituting First Lien Obligations;

          (b) payment in full in cash of all Hedging Obligations constituting First Lien Obligations and
the expiration or termination of all Hedge Agreements included in the First Lien Obligations or the
cash collateralization of all such Hedging Obligations on terms satisfactory to each applicable
counterparty;

          (c) payment in full in cash of all other First Lien Obligations that are due and payable or
otherwise accrued and owing at or prior to the time such principal and interest are paid (other
than any indemnification obligations for which no claim or demand for payment, whether oral or
written, has been made at such time);

          (d) termination or expiration of all commitments, if any, to extend credit that would
constitute First Lien Obligations; and

          (e) termination or cash collateralization (in an amount and manner reasonably satisfactory to
the First Lien Collateral Agent, but in no event greater than 105% of the aggregate undrawn face
amount) of all letters of credit issued under the First Lien Documents and constituting First Lien
Obligations.

          “Existing Hedge Agreements” means (i) that certain ISDA Master Agreement, dated as of June 24,
2005, between the Company and J. Aron & Company, as amended, including the schedule thereto and
each confirmation and other document executed in connection therewith, and (ii) each existing
confirmation and any other related document, in each case, as amended, governing the interest-rate
hedging transactions between the Company and Credit Suisse International (formerly known as Credit
Suisse First Boston International).

          “First Lien” means a Lien granted by a Secured Debt Document to the trustee, agent or other
representative at any time, that is stated to be on a first priority basis, upon any Collateral of
either Company or any other Grantor to secure First Lien Obligations.

          “First Lien Claimholders” means, at any relevant time, the holders of First Lien Obligations
at such time, including, without limitation, the First Lien Lenders and the agents, under the First
Lien Documents.

          “First Lien Collateral” means all of the assets and property of any Grantor, whether real,
personal or mixed, with respect to which a Lien is purported to be granted as security for any
First Lien Obligations.

4

 

          “First Lien Collateral Documents” means the Collateral Documents (as defined in the First Lien
Credit Agreement) and all agreements, documents and instruments pursuant to which a Lien is granted
securing any First Lien Obligations or under which rights or remedies with respect to such Liens
are governed.

          “First Lien Credit Agreement” has the meaning assigned to that term in the recitals to this
Agreement.

          “First Lien Debt” means Indebtedness under the First Lien Credit Agreement, Hedging
Obligations under the Existing Hedge Agreements and, to the extent issued or outstanding, any
Indebtedness of the Company or Guarantors designated as such by the Company in writing to the First
Lien Collateral Agent and the Subordinated Collateral Trustee; provided that:

          (a) on or before the date on which such Indebtedness is incurred, an Officer’s Certificate is
delivered to the First Lien Collateral Agent and the Subordinated Collateral Trustee, designating
such Indebtedness as “First Lien Debt” for the purposes of the First Lien Documents and the
Subordinated Lien Documents;

          (b) such Indebtedness is evidenced or governed by an indenture, credit agreement, loan
agreement, note agreement, promissory note or other agreement or instrument that includes a Lien
Priority Confirmation;

          (c) is designated as First Lien Debt in accordance with the requirements of Section 5.6 and
the other requirements of Section 5.6 with respect thereto are satisfied; and

          (d) at the time of the incurrence thereof, the applicable First Lien Debt may be incurred (and
secured as contemplated herein) without violating the terms of any Secured Debt Document or causing
any default thereunder.

          “First Lien Documents” means, collectively, the First Lien Credit Agreement and the Credit
Documents (as defined in the First Lien Credit Agreement or any similar term in any replacement or
Refinanced First Lien Credit Agreement), the First Lien Collateral Documents and each of the other
agreements, documents and instruments (including, without limitation, any Hedge Agreement)
providing for or evidencing any other First Lien Obligation, and any other document or instrument
executed or delivered at any time in connection with any First Lien Obligations, including any
intercreditor or joinder agreement among holders of First Lien Obligations, to the extent such are
effective at the relevant time, in each case as each may be amended, restated, supplemented,
modified, renewed, extended or Refinanced from time to time in accordance with the provisions of
this Agreement (in each case, whether pursuant to one or more agreements, with the same and/or new
lenders and/or agents) and any other credit agreement, indenture or other agreement, document or
instrument evidencing, governing, relating to or securing any First Lien Debt (including First Lien
Debt incurred after the date hereof).

5

 

          “First Lien Intercreditor Agreement” means that certain First Lien Intercreditor Agreement,
dated as of December 28, 2006, by and among the Company, Credit Suisse, and J. Aron & Company.

          “First Lien Lenders” means the “Lenders” under and as defined in the First Lien Documents.

          “First Lien Mortgages” means a collective reference to each mortgage, deed of trust and any
other document or instrument under which any Lien on real property owned or leased by any Grantor
is granted to secure any First Lien Obligations or under which rights or remedies with respect to
any such Liens are governed.

          “First Lien Obligations” means, subject to clause (c) hereof, the following:

          (a) (i) All principal of and interest (including without limitation any Post Petition
Interest) and premium (if any) on all loans made pursuant to the First Lien Credit Agreement, as
amended, restated, supplemented, modified, replaced or Refinanced (in whole or in part) from time
to time, (ii) all reimbursement obligations (if any) and interest thereon (including without
limitation any Post Petition Interest) with respect to any letter of credit or similar instruments
issued pursuant to the First Lien Documents, (iii) all Hedge Agreements and all other Hedging
Obligations, (iv) all guarantee obligations, fees, expenses and other all other Obligations under
the First Lien Credit Agreement and the other First Lien Documents, in each case whether or not
allowed or allowable in an Insolvency or Liquidation Proceeding, and (v) all obligations arising
with respect to any First Lien Debt.

          (b) To the extent any payment with respect to any First Lien Obligation (whether by or on
behalf of any Grantor, as proceeds of security, enforcement of any right of setoff or otherwise) is
declared to be a fraudulent conveyance or a preference in any respect, set aside or required to be
paid to a debtor in possession, any Subordinated Lien Claimholders, receiver or similar Person,
then the obligation or part thereof originally intended to be satisfied shall, for the purposes of
this Agreement and the rights and obligations of the First Lien Claimholders and the Subordinated
Lien Claimholders, be deemed to be reinstated and outstanding as if such payment had not occurred.
To the extent that any interest, fees, expenses or other charges (including, without limitation,
Post Petition Interest) to be paid pursuant to the First Lien Documents are disallowed by order of
any court, including, without limitation, by order of a Bankruptcy Court in any Insolvency or
Liquidation Proceeding, such interest, fees, expenses and charges (including, without limitation,
Post Petition Interest) shall, as between the First Lien Claimholders and the Subordinated Lien
Claimholders, be deemed to continue to accrue and be added to the amount to be calculated as the
“First Lien Obligations.”

          (c) Notwithstanding the foregoing, if the Company incurs: (1) Indebtedness for borrowed money
constituting principal outstanding under the First Lien Credit Agreement and the other First Lien
Documents (excluding, for the avoidance of

6

 

doubt, the amount of any Hedging Obligations that are not supported by a letter of a credit);
plus (2) the aggregate face amount of any letters of credit issued but not reimbursed under
the First Lien Credit Agreement (including any letters of credit, whether drawn or undrawn,
provided or pledged on a first priority basis in support of Hedging Obligations) in an aggregate
amount in excess of the greater of (i) $500,000,000 and (ii) 250% of Consolidated Adjusted EBITDA
(as defined in the First Lien Credit Agreement) for the most recently ended four full fiscal
quarters for which internal financial statements are available immediately preceding the date of
determination (the “Cap Amount”), then only that portion of such Indebtedness for borrowed money
and such aggregate face amount of letters of credit equal to the Cap Amount shall be included in
First Lien Obligations and interest and reimbursement obligations with respect to such Indebtedness
and letters of credit shall only constitute First Lien Obligations to the extent related to
Indebtedness and face amounts of letters of credit included in the First Lien Obligations.

          “Governmental Authority” means any federal, state, municipal, national or other government,
governmental department, commission, board, bureau, court, agency or instrumentality or political
subdivision thereof or any entity or officer exercising executive, legislative, judicial,
regulatory or administrative functions of or pertaining to any government or any court, in each
case whether associated with a state of the United States, the United States, or a foreign entity
or government.

          “Grantors” means the Company and each of the Guarantors that have executed and delivered, or
may from time to time hereafter execute and deliver, a First Lien Collateral Document or a
Subordinated Lien Document as a “grantor” or “pledgor” (or the equivalent thereof).

          “Hedge Agreements” means an Interest Rate Agreement, a Currency Agreement or a
Commodity Hedge Agreement entered into with (i) a Lender Counterparty in order to satisfy the
requirements of the First Lien Credit Agreement, or otherwise in the ordinary course of business of
the Company and/or its Affiliates, or (ii) any financial institution other than a Lender
Counterparty with respect to which the Company has notified the Administrative Agent (as defined in
the First Lien Credit Agreement) thereof, including, without limitation, the Existing Hedge
Agreements, and provided that in each case such counterparty or other financial institution agrees
to be or is otherwise bound by the First Lien Intercreditor Agreement.

          “Hedging Obligation” of any Person means any obligation of such Person pursuant to any Hedge
Agreements.

          “Holdings” means, collectively, Coffeyville Pipeline, Inc., a Delaware corporation,
Coffeyville Refining & Marketing, Inc., a Delaware corporation, Coffeyville Nitrogen Fertilizers,
Inc., a Delaware corporation, Coffeyville Crude Transportation, Inc., a Delaware corporation,
Coffeyville Terminal, Inc, a Delaware corporation, and CL JV Holdings, LLC, a Delaware limited
liability company.

7

 

          “Indebtedness” means and includes all Obligations that constitute “Indebtedness” within the
meaning of the First Lien Documents or the Subordinated Lien Documents, as applicable.

          “Insolvency or Liquidation Proceeding” means (a) any voluntary or involuntary case or
proceeding under the Bankruptcy Code with respect to any Grantor, (b) any other voluntary or
involuntary insolvency, reorganization or bankruptcy case or proceeding, or any receivership,
liquidation, reorganization or other similar case or proceeding with respect to any Grantor or with
respect to a material portion of their respective assets, (c) any liquidation, dissolution,
reorganization or winding up of any Grantor whether voluntary or involuntary and whether or not
involving insolvency or bankruptcy or (d) any assignment for the benefit of creditors or any other
marshalling of assets and liabilities of any Grantor.

          “Interest Rate Agreement” means any interest rate swap agreement, interest rate cap agreement,
interest rate collar agreement, interest rate hedging agreements or other similar agreement or
arrangement, each of which is for the purpose of hedging the interest rate exposure associated with
the Company’s and its Affiliates’ operations and not for speculative purposes.

          “Lender Counterparty” means a Person who at the time such Hedge Agreement was entered into
was, under the First Lien Credit Agreement, the administrative agent, an arranger, a First Lien
Lender, or an Affiliate of any of the foregoing Persons.

          “Lien” means any lien (including, without limitation judgment liens and liens arising by
operation of law), mortgage, pledge, assignment, security interest, charge or encumbrance of any
kind (including any agreement to give any of the foregoing, any conditional sale or other title
retention agreement, and any lease in the nature thereof) and any option, call, trust, UCC
financing statement or other preferential arrangement having the practical effect of any of the
foregoing.

          “Lien Priority Confirmation” means:

          (1) as to any additional First Lien Debt, the written agreement of the holders of such
additional First Lien Debt, or their applicable Representative on their behalf, in each case as set
forth in the indenture, credit agreement, loan agreement, note agreement, promissory note, Hedge
Agreement or other agreement or instrument evidencing or governing such First Lien Debt (or in a
separate writing binding upon holders of such First Lien Debt), for the enforceable benefit of the
First Lien Collateral Agent, the Subordinated Collateral Trustee, all holders of each existing and
future First Lien Debt, each existing and future Representative with respect to such First Lien
Debt, all holders of existing and future Subordinated Lien Debt and each existing and future
Representative with respect to such Subordinated Lien Debt:

          (a) that such Representative and all other holders of Obligations in respect of such
First Lien Debt are bound by the provisions of this

8

 

Agreement, including without limitation, the provisions relating to the ranking of
First Liens and the order of application of proceeds from enforcement of First Liens;

          (b) consenting to and directing the First Lien Collateral Agent to act as agent for
such additional First Lien Debt or such Representative, as applicable, and perform its
obligations under this Agreement and the other Collateral Documents; and

          (c) that the holders of such Obligations in respect of such additional First Lien Debt
are bound by the First Lien Intercreditor Agreement;

          (2) as to any additional Subordinated Lien Debt, the written agreement of the holders of such
Subordinated Lien Debt, or their applicable Representative on their behalf, in each case as set
forth in the indenture, credit agreement, loan agreement, note agreement, promissory note, Hedge
Agreement or other agreement or instrument evidencing or governing such Subordinated Lien Debt, for
the enforceable benefit of the First Lien Collateral Agent, the Subordinated Collateral Trustee,
all holders of existing and future Subordinated Lien Debt, each existing and future Representative
with respect to Subordinated Lien Debt, all holders of existing and future First Lien Debt and each
existing and future Representative with respect to First Lien Debt:

          (a) that such Representative and all the other holders of Obligations in respect of
such additional Subordinated Lien Debt are bound by the provisions of this Agreement,
including without limitation, the provisions relating to the ranking of Subordinated Liens
and the order of application of proceeds from the enforcement of Subordinated Liens;

          (b) consenting to and directing the Subordinated Collateral Trustee to act as agent
for such additional Subordinated Lien Debt or such Representative, as applicable, and
perform its obligations under this Agreement and the other Collateral Documents; and

          (c) that the holders of such Obligations in respect of such additional Subordinated
Lien Debt are bound by the Subordinated Lien Collateral Trust Agreement.

          “Obligations” means all obligations of every nature of each Grantor from time to time owed to
any agent or trustee, the First Lien Claimholders, the Subordinated Lien Claimholders or any of
them or their respective Affiliates under the First Lien Documents, the Subordinated Lien Documents
or Hedge Agreements, whether for principal, interest or payments for early termination of Interest
Rate Agreements, fees, expenses, indemnification or otherwise and all guarantees of any of the
foregoing.

          “Officer’s Certificate” means a certificate with respect to compliance with a condition or
covenant provided for in this Agreement, signed on behalf of the Company by two officers of the
Company, one of whom must be the principal executive officer, the principal financial officer, or
the treasurer of the Company, including:

9

 

          (a) a statement that the Person making such certificate has read such covenant or condition
and understands the provisions and the definitions relating thereto;

          (b) a brief statement as to the nature and scope of the examination or investigation upon
which the statements or opinions contained in such certificate are based;

          (c) a statement that, in the opinion of such Person, he or she has made such examination or
investigation as is necessary to enable him or her to express an informed opinion as to whether or
not such covenant or condition has been satisfied; and

          (d) a statement as to whether or not, in the opinion of such Person, such condition or
covenant has been satisfied.

          “Person” or “Persons” means and includes natural persons, corporations, limited partnerships,
general partnerships, limited liability companies, limited liability partnerships, joint stock
companies, joint ventures, associations, companies, trusts, banks, trust companies, land trusts,
business trusts or other organizations, whether or not legal entities, and Governmental
Authorities.

          “Pledged Collateral” has the meaning set forth in Section 5.4 hereof.

          “Post Petition Interest” means interest, fees, expenses and other charges that pursuant to any
First Lien Document or any Subordinated Lien Document, continue to accrue after the commencement of
any Insolvency or Liquidation Proceeding, whether or not such interest, fees, expenses and other
charges are allowed or allowable under the Bankruptcy Law or in any such Insolvency or Liquidation
Proceeding.

          “Recovery” has the meaning set forth in Section 6.5 hereof.

          “Refinance” means, in respect of any Indebtedness, to refinance, extend, increase, renew,
defease, amend, modify, supplement, restructure, replace, refund or repay, or to issue other
indebtedness, in exchange or replacement for (including by means of sales of debt securities to
institutional investors) such Indebtedness, in any manner (whether upon or after termination or
otherwise) and in whole or in part. “Refinanced” and “Refinancing” shall have correlative
meanings.

          “Representative” means, with respect to any Indebtedness, the trustee, agent or representative
of the holders of such Indebtedness who maintains the transfer register for such Indebtedness and
is appointed as such pursuant to the indenture, credit agreement, purchase agreement note or other
agreement or instrument governing such Indebtedness.

          “Second Lien Collateral Documents” means the Collateral Documents (as defined in the Second
Lien Notes Indenture) and any other agreement, document or instrument pursuant to which a Lien is
purported to be granted securing any Second Lien Obligations or under which rights or remedies with
respect to such Liens are governed.

10

 

          “Second Lien Notes Indenture” has the meaning assigned to that term in the recitals to this
Agreement.

          “Second Lien Notes” means the [___]% Senior Secured Notes due [___] issued under the
Second Lien Notes Indenture on the date hereof, and any registered notes issued by Company in
exchange for, and as contemplated by, such notes with substantially identical terms as such notes,
as any such notes may be amended, restated, supplemented, replaced, increased, refinanced or
otherwise modified from time to time in accordance herewith.

          “Secured Debt Documents” means the First Lien Documents and the Subordinated Lien Documents.

          “Specified Hedge Collateral” means any letter of credit or cash collateral which is permitted
by the terms of each Secured Debt Document to be provided or pledged on a first priority basis in
support of Hedging Obligations.

          “Subordinated Collateral Trustee” has the meaning assigned to that term in the recitals to
this Agreement, but shall also include where the context so indicates, any agent or representative
of the Subordinated Collateral Trustee acting on behalf of the Subordinated Collateral Trustee.

          “Subordinated Lien” means a Lien granted by a Secured Debt Document to the trustee, agent or
other representative at any time, on a junior priority basis, upon any Collateral of either Company
or any other Grantor to secure Subordinated Lien Obligations.

          “Subordinated Lien Claimholders” means, at any relevant time, the holders of Subordinated Lien
Obligations at that time under the Subordinated Lien Documents, including the Subordinated
Collateral Trustee, the holders of the Second Lien Notes and the Trustee.

          “Subordinated Lien Collateral” means all of the assets and property of any Grantor, whether
real, personal or mixed, with respect to which a Lien is purported to be granted as security for
any Subordinated Lien Obligations.

          “Subordinated Lien Collateral Documents” means the Second Lien Collateral Documents and any
other agreement, document or instrument pursuant to which a Lien is purported to be granted
securing any Subordinated Lien Obligations or under which rights or remedies with respect to such
Liens are governed.

          “Subordinated Lien Collateral Trust Agreement” means the collateral trust agreement dated on
or about the date hereof among the Subordinated Collateral Trustee as the same may be joined from
time to time by the trustee, agent or other representative under any additional Subordinated Lien
Debt, specifying the relative lien priorities and other matters as among the holders of
Subordinated Lien Obligations, which, for the avoidance of doubt, may provide for further
subordination of certain

11

 

holders of such Subordinated Lien Obligations, including a Third Lien in respect of such
Subordinated Lien Obligations.

          “Subordinated Lien Debt” means the Second Lien Notes1 and, to the extent issued or
outstanding, any other Indebtedness of the Company or the Guarantors designated as such by the
Company in writing to the First Lien Collateral Agent and Subordinated Collateral Trustee;
provided that:

          (a) on or before the date on which such Indebtedness is incurred, an Officer’s Certificate is
delivered to the First Lien Collateral Agent and the Subordinated Collateral Trustee, designating
such Indebtedness as “Subordinated Lien Debt” for the purposes of the First Lien Documents and the
Subordinated Lien Documents, and specifying whether such Indebtedness is second or third lien
Indebtedness;

          (b) such Indebtedness is evidenced or governed by an indenture, credit agreement, loan
agreement, note agreement, promissory note or other agreement or instrument that includes a Lien
Priority Confirmation;

          (c) is designated as Subordinated Lien Debt in accordance with the requirements of Section 5.6
and the other requirements of Section 5.6 with respect thereto are satisfied; and

          (d) at the time of the incurrence thereof, the applicable Subordinated Lien Debt may be
incurred (and secured as contemplated herein) without violating the terms of any Secured Debt
Document or causing any default thereunder.

          “Subordinated Lien Documents” means, collectively, the Second Lien Notes Indenture and any
other indenture, credit agreement or other agreement, document or instrument evidencing, governing,
relating to or securing any Subordinated Lien Debt (including Subordinated Lien Debt incurred after
the date hereof), including, without limitation, the Second Lien Collateral Documents.

          “Subordinated Lien Mortgages” means a collective reference to each mortgage, deed of trust and
any other document or instrument under which any Lien on real property owned or leased by any
Grantor is granted to secure any Subordinated Lien Obligations or under which rights or remedies
with respect to any such Liens are governed.

          “Subordinated Lien Obligations” means all principal of and interest on (including without
limitation any Post Petition Interest) and premium (if any) on all Second Lien Notes, and all other
obligations, including reimbursement obligations with respect to letters of credit whether or not
drawn), interest (including without limitation Post Petition Interest), premium (if any), fees,
indemnifications, reimbursements, expenses, damages and other liabilities payable under the
documentation governing any Subordinated Lien Debt.

 

			
	1	 	Second Lien Notes Indenture to include Form of
Lien Priority Confirmation.

12

 

          “Subsidiary” means, with respect to any Person, any corporation, partnership, limited
liability company, association, joint venture or other business entity of which more than 50% of
the total voting power of shares of stock or other ownership interests entitled (without regard to
the occurrence of any contingency) to vote in the election of the Person or Persons (whether
directors, managers, trustees or other Persons performing similar functions) having the power to
direct or cause the direction of the management and policies thereof is at the time owned or
controlled, directly or indirectly, by that Person or one or more of the other Subsidiaries of that
Person or a combination thereof; provided that, in determining the percentage of ownership
interests of any Person controlled by another Person, no ownership interest in the nature of a
“qualifying share” of the former Person shall be deemed to be outstanding. For purposes hereof,
except where otherwise expressly set forth herein, Company shall be deemed a Subsidiary of
Holdings. It is agreed and understood that the CVR Partners, LP and CVR Special GP, LLC shall each
be deemed to be wholly-owned Subsidiaries of the Company.

          “Third Lien” means a Lien granted by a Secured Debt Document to any trustee, agent or other
representative, at any time, on a third priority basis, upon any Collateral of either Company or
any other Grantor to secure Subordinated Lien Obligations.

          “UCC” means the Uniform Commercial Code (or any similar or equivalent legislation) as in
effect in any applicable jurisdiction.

          1.2 Terms Generally. The definitions of terms herein shall apply equally to the
singular and plural forms of the terms defined. Whenever the context may require, any pronoun
shall include the corresponding masculine, feminine and neuter forms. The words “include,”
“includes” and “including” shall be deemed to be followed by the phrase “without limitation.” The
word “will” shall be construed to have the same meaning and effect as the word “shall.” Unless the
context requires otherwise (a) any definition of or reference to any agreement, instrument or other
document herein shall be construed as referring to such agreement, instrument or other document as
from time to time amended, restated, renewed, extended, supplemented or otherwise modified from
time to time in accordance with its terms, (b) any reference herein to any Person shall be
construed to include such Person’s successors and assigns, (c) the words “herein,” “hereof” and
“hereunder,” and words of similar import, shall be construed to refer to this Agreement in its
entirety and not to any particular provision hereof, (d) all references herein to Exhibits or
Sections shall be construed to refer to Exhibits or Sections of this Agreement and (e) the words
“asset” and “property” shall be construed to have the same meaning and effect and to refer to any
and all tangible and intangible assets and properties, including cash, securities, accounts and
contract rights.

          SECTION 2. Lien Priorities.

          2.1 Relative Priorities. Notwithstanding the date, time, method, manner or order of
grant, attachment or perfection of (i) any Liens securing the Subordinated Lien Obligations granted
on the Collateral or (ii) any Liens securing the First Lien Obligations granted on the Collateral
and notwithstanding any provision of the

13

 

UCC, or any other applicable law or any Subordinated Lien Document or any defect or
deficiencies in, or failure to perfect or lapse in perfection of, or avoidance as a fraudulent
conveyance or otherwise of, the Liens securing the First Lien Obligations or any other circumstance
whatsoever, the Subordinated Collateral Trustee, on behalf of itself and all Subordinated Lien
Claimholders, hereby agrees that:

          (a) any Lien on the Collateral securing any First Lien Obligations now or hereafter held by or
on behalf of the First Lien Collateral Agent or any First Lien Claimholders or any agent or trustee
therefor, regardless of how acquired, whether by grant, possession, statute, operation of law,
subrogation or otherwise, shall be senior in all respects and prior to any Lien on the Collateral
securing any Subordinated Lien Obligations; and

          (b) any Lien on the Collateral securing any Subordinated Lien Obligations now or hereafter
held by or on behalf of the Subordinated Collateral Trustee, any Subordinated Lien Claimholders or
any agent or trustee therefor regardless of how acquired, whether by grant, possession, statute,
operation of law, subrogation or otherwise, shall be junior and subordinate in all respects to all
Liens on the Collateral securing any First Lien Obligations. All Liens on the Collateral securing
any First Lien Obligations shall be and remain senior in all respects and prior to all Liens on the
Collateral securing any Subordinated Lien Obligations for all purposes, whether or not such Liens
securing any First Lien Obligations are subordinated to any Lien securing any other obligation of
the Company, any other Grantor or any other Person.

          2.2 Prohibition on Contesting Liens. Each of the Subordinated Collateral Trustee, for
itself and on behalf of each Subordinated Lien Claimholder, and the First Lien Collateral Agent,
for itself and on behalf of each First Lien Claimholder, agrees that it will not (and hereby waives
any right to) contest or support any other Person in contesting, in any proceeding (including any
Insolvency or Liquidation Proceeding), the priority, validity, perfection or enforceability of a
Lien held by or on behalf of any of the First Lien Claimholders in the First Lien Collateral or by
or on behalf of any of the Subordinated Lien Claimholders in the Subordinated Lien Collateral, as
the case may be, or the provisions of this Agreement; provided that, nothing in this
Agreement shall be construed to prevent or impair the rights of the First Lien Collateral Agent or
any First Lien Claimholder to enforce this Agreement, including the provisions of this Agreement
relating to the priority of the Liens securing the First Lien Obligations as provided in Sections
2.1 and 3.1.

          2.3 No New Liens. So long as the Discharge of First Lien Obligations has not
occurred, whether or not any Insolvency or Liquidation Proceeding has been commenced by or against
the Company or any other Grantor, the parties hereto agree that the Company shall not, and shall
not permit any other Grantor to:

          (a) grant or permit any additional Liens on any asset or property to secure any Subordinated
Lien Obligation unless it has granted or concurrently grants a Lien on such asset or property to
secure the First Lien Obligations, the parties hereto agreeing that any such Lien shall be subject
to Section 2.1 hereof; or

14

 

          (b) grant or permit any additional Liens on any asset or property to secure any First Lien
Obligations unless it has granted or concurrently grants a Lien on such asset or property to secure
the Subordinated Lien Obligations. To the extent that the foregoing provisions are not complied
with for any reason, without limiting any other rights and remedies available to the First Lien
Collateral Agent and/or the First Lien Claimholders, the Subordinated Collateral Trustee, on behalf
of each of the Subordinated Lien Claimholders, agrees that any amounts received by or distributed
to any of them pursuant to or as a result of Liens granted in contravention of this Section 2.3
shall be subject to Section 4.2.

          2.4 Similar Liens and Agreements. The parties hereto agree that it is their intention
that the First Lien Collateral and the Subordinated Lien Collateral (other than with respect to
Affiliate Securities, if any, and any Specified Hedge Collateral, if any) be identical. In
furtherance of the foregoing and of Section 8.9, the parties hereto agree, subject to the other
provisions of this Agreement:

          (a) upon request by the First Lien Collateral Agent or the Subordinated Collateral Trustee, to
cooperate in good faith (and to direct their counsel to cooperate in good faith) from time to time
in order to determine the specific items included in the First Lien Collateral and the Subordinated
Lien Collateral and the steps taken to perfect their respective Liens thereon and the identity of
the respective parties obligated under the First Lien Documents and the Subordinated Lien
Documents; and

          (b) that the documents and agreements creating or evidencing the First Lien Collateral and the
Subordinated Lien Collateral and guarantees for the First Lien Obligations and the Subordinated
Lien Obligations, subject to Section 5.3(d), shall be in all material respects the same forms of
documents other than with respect to the first or subordinated nature of the Obligations thereunder
and the exclusion or inclusion, if applicable, of any Affiliate Securities or any Specified Hedge
Collateral.

Notwithstanding the foregoing, it shall not be a violation of this Section if any assets and/or
property of any Grantor are not yet included in Subordinated Lien Collateral but are subject to
closing agreements to provide that such assets and/or property shall become Subordinated Lien
Collateral.

          SECTION 3. Enforcement.

          3.1 Exercise of Remedies.

          (a) Until the Discharge of First Lien Obligations has occurred, whether or not any Insolvency
or Liquidation Proceeding has been commenced by or against the Company or any other Grantor, the
Subordinated Collateral Trustee and the Subordinated Lien Claimholders:

          (1) will not exercise or seek to exercise any rights or remedies with respect to any
Collateral (including the exercise of any right of setoff or any right under any lockbox
agreement, account control agreement, landlord waiver or bailee’s letter or similar
agreement or arrangement to which the Subordinated

15

 

Collateral Trustee or any Subordinated Lien Claimholder is a party) or institute any
action or proceeding with respect to such rights or remedies (including any action of
foreclosure);

          (2) will not contest, protest or object to any foreclosure proceeding or action
brought by the First Lien Collateral Agent or any First Lien Claimholder or any other
exercise by the First Lien Collateral Agent or any First Lien Claimholder of any rights and
remedies relating to the Collateral under the First Lien Documents or otherwise; and

          (3) subject to their rights under clause (a)(1) above, will not object to the
forbearance by the First Lien Collateral Agent or the First Lien Claimholders from bringing
or pursuing any foreclosure proceeding or action or any other exercise of any rights or
remedies relating to the Collateral, in each case so long as the Liens granted to secure
the Subordinated Lien Obligations of the Subordinated Lien Claimholders attach to the
proceeds thereof subject to the relative priorities described in Section 2.

          (b) Until the Discharge of First Lien Obligations has occurred, whether or not any Insolvency
or Liquidation Proceeding has been commenced by or against the Company or any other Grantor, the
First Lien Collateral Agent and the First Lien Claimholders shall have the exclusive right to
enforce rights, exercise remedies (including set-off, recoupment and the right to credit bid their
debt) and, subject to Section 5.1, to make determinations regarding the release, disposition, or
restrictions with respect to the Collateral without any consultation with or the consent of the
Subordinated Collateral Trustee or any Subordinated Lien Claimholder; provided that, the
Lien securing the Subordinated Lien Obligations shall remain on the proceeds of such Collateral
released or disposed of subject to the relative priorities described in Section 2. In exercising
rights and remedies with respect to the Collateral, the First Lien Collateral Agent and the First
Lien Claimholders may enforce the provisions of the First Lien Documents and exercise remedies
thereunder, all in such order and in such manner as they may determine in the exercise of their
sole discretion. Such exercise and enforcement shall include the rights of an agent appointed by
them to sell or otherwise dispose of Collateral upon foreclosure, to incur expenses in connection
with such sale or disposition, and to exercise all the rights and remedies of a secured creditor
under the UCC and of a secured creditor under Bankruptcy Laws of any applicable jurisdiction.

          (c) Notwithstanding the foregoing, the Subordinated Collateral Trustee and any Subordinated
Lien Claimholder may:

          (1) file a claim or statement of interest with respect to the Subordinated Lien
Obligations; provided that an Insolvency or Liquidation Proceeding has been
commenced by or against the Company or any other Grantor;

          (2) take any action (not adverse to the priority status of the Liens on the Collateral
securing the First Lien Obligations, or the rights of any

16

 

First Lien Collateral Agent or the First Lien Claimholders to exercise remedies in
respect thereof) in order to create, perfect, preserve or protect its Lien on the
Collateral;

          (3) file any necessary responsive or defensive pleadings in opposition to any motion,
claim, adversary proceeding or other pleading made by any person objecting to or otherwise
seeking the disallowance of the claims of the Subordinated Lien Claimholders, including any
claims secured by the Collateral, if any, in each case in accordance with the terms of this
Agreement; and

          (4) vote on any plan of reorganization, file any proof of claim, make other filings
and make any arguments and motions that are, in each case, in accordance with the terms of
this Agreement, with respect to the Subordinated Lien Obligations and the Collateral.

          The Subordinated Collateral Trustee, on behalf of itself and each Subordinated Lien
Claimholder, agrees that it will not take or receive any Collateral or any proceeds of Collateral
in connection with the exercise of any right or remedy (including set-off and recoupment) with
respect to any Collateral in its capacity as a creditor, unless and until the Discharge of First
Lien Obligations has occurred. Without limiting the generality of the foregoing, unless and until
the Discharge of First Lien Obligations has occurred, except as expressly provided in Sections
3.1(a), 6.3(b) and this Section 3.1(c), the sole right of the Subordinated Collateral Trustee and
the Subordinated Lien Claimholders with respect to the Collateral is to hold a Lien on the
Collateral pursuant to the Subordinated Lien Collateral Documents for the period and to the extent
granted therein and to receive a share of the proceeds thereof, if any, after the Discharge of
First Lien Obligations has occurred.

          (d) Subject to Sections 3.1(c) and Section 6.3(b):

          (1) the Subordinated Collateral Trustee, for itself and on behalf of the Subordinated
Lien Claimholders, agrees that the Subordinated Collateral Trustee and the Subordinated
Lien Claimholders will not take any action that would hinder any exercise of remedies under
the First Lien Documents or is otherwise prohibited hereunder, including any sale, lease,
exchange, transfer or other disposition of the Collateral, whether by foreclosure or
otherwise;

          (2) the Subordinated Collateral Trustee, for itself and on behalf of the Subordinated
Lien Claimholders, hereby waives any and all rights it or the Subordinated Lien
Claimholders may have as a junior lien creditor or otherwise to object to the manner in
which the First Lien Collateral Agent or the First Lien Claimholders seek to enforce or
collect the First Lien Obligations or the Liens securing the First Lien Obligations granted
in any of the First Lien Collateral undertaken in accordance with this Agreement,
regardless of whether any action or failure to act by or on behalf of the First Lien
Collateral Agent or First Lien Claimholders is adverse to the interest of the Subordinated
Lien Claimholders; and

17

 

          (3) the Subordinated Collateral Trustee hereby acknowledges and agrees that no
covenant, agreement or restriction contained in the Subordinated Lien Collateral Documents
or any other Subordinated Lien Document (other than this Agreement) shall be deemed to
restrict in any way the rights and remedies of the First Lien Collateral Agent or the First
Lien Claimholders with respect to the Collateral as set forth in this Agreement and the
First Lien Documents.

          (e) Except as specifically set forth in Sections 3.1(a) and (d), the Subordinated Collateral
Trustee and the Subordinated Lien Claimholders may exercise rights and remedies as unsecured
creditors against the Company or any other Grantor that has guaranteed or granted Liens to secure
the Subordinated Lien Obligations in accordance with the terms of the Subordinated Lien Documents
and applicable law; provided that in the event that any Subordinated Lien Claimholder
becomes a judgment Lien creditor in respect of Collateral as a result of its enforcement of its
rights as an unsecured creditor with respect to the Subordinated Lien Obligations, such judgment
Lien shall be subject to the terms of this Agreement for all purposes (including in relation to the
First Lien Obligations) as the other Liens securing the Subordinated Lien Obligations are subject
to this Agreement.

          (f) Except as specifically set forth in Sections 3.1(a) and (d), nothing in this Agreement
shall prohibit the receipt by the Subordinated Collateral Trustee or any Subordinated Lien
Claimholders of the required payments of interest, principal and other amounts owed in respect of
the Subordinated Lien Obligations so long as such receipt is not the direct or indirect result of
the exercise by the Subordinated Collateral Trustee or any Subordinated Lien Claimholders of rights
or remedies as a secured creditor (including set-off and recoupment) or enforcement in
contravention of this Agreement of any Lien held by any of them. Nothing in this Agreement impairs
or otherwise adversely affects any rights or remedies the First Lien Collateral Agent or the First
Lien Claimholders may have with respect to the First Lien Collateral.

          SECTION 4. Payments.

          4.1 Application of Proceeds. So long as the Discharge of First Lien Obligations has
not occurred, whether or not any Insolvency or Liquidation Proceeding has been commenced by or
against the Company or any other Grantor, Collateral or proceeds thereof, received in connection
with the sale or other disposition of, or collection on, such Collateral upon the exercise of
remedies, shall be applied by the First Lien Collateral Agent to the First Lien Obligations in such
order as specified in the relevant First Lien Documents. Upon the Discharge of First Lien
Obligations, the First Lien Collateral Agent shall deliver to the Subordinated Collateral Trustee
any proceeds of Collateral held by it in the same form as received, with any necessary endorsements
or as a court of competent jurisdiction may otherwise direct to be applied by the Subordinated
Collateral Trustee in such order as specified in the Subordinated Lien Documents.

          4.2 Payments Over.

18

 

          (a) So long as the Discharge of First Lien Obligations has not occurred, whether or not any
Insolvency or Liquidation Proceeding has been commenced by or against the Company or any other
Grantor, any Collateral or proceeds thereof (together with assets or proceeds subject to Liens
referred to in the final sentence of Section 2.3) received by the Subordinated Collateral Trustee,
any Subordinated Lien Claimholders in connection with the exercise of any right or remedy
(including set-off or recoupment) relating to the Collateral in contravention of this Agreement in
all cases, shall be segregated and held in trust and forthwith paid over to the First Lien
Collateral Agent for the benefit of the First Lien Claimholders in the same form as received, with
any necessary endorsements or as a court of competent jurisdiction may otherwise direct. The First
Lien Collateral Agent is hereby authorized to make any such endorsements as agent for the
Subordinated Collateral Trustee or any such Subordinated Lien Claimholders. This authorization is
coupled with an interest and is irrevocable until the Discharge of First Lien Obligations.

          (b) So long as the Discharge of First Lien Obligations has not occurred, whether or not any
Insolvency or Liquidation Proceeding has been commenced by or against the Company or any other
Grantor, any Collateral or proceeds thereof (including assets or proceeds subject to Liens referred
to in the final sentence of Section 2.3) received by the Subordinated Collateral Trustee or any
Subordinated Lien Claimholders in connection with the exercise of any right or remedy (including
set-off or recoupment) relating to the Collateral not in contravention of this Agreement
shall be segregated and held in trust and forthwith paid over to the First Lien Collateral Agent
for the benefit of the First Lien Claimholders in the same form as received, with any necessary
endorsements or as a court of competent jurisdiction may otherwise direct; provided,
however that, this Section 4.2(b) shall only be applicable if the exercise of such right or
remedy by the Subordinated Collateral Agent or any Subordinated Lien Claimholder has the effect of
discharging the Lien of the First Lien Collateral Agent on such Collateral. The First Lien
Collateral Agent is hereby authorized to make any such endorsement as agent for the Subordinated
Collateral Trustee or any such Subordinated Lien Claimholders. This authorized is coupled with an
interest and is irrevocable until he Discharge of First Lien Obligations.

          (c) So long as the Discharge of First Lien Obligations has not occurred, if in any Insolvency
or Liquidation Proceeding the Subordinated Collateral Trustee or any Subordinated Lien Claimholders
shall receive any distribution of money or other property in respect of the Collateral, such money
or other property shall be segregated and held in trust and forthwith paid over to the First Lien
Collateral Agent for the benefit of the First Lien Claimholders in the same form as received, with
any necessary endorsement. Any Lien received by the Subordinated Collateral Trustee or by
Subordinated Lien Claimholders in any Insolvency or Liquidation Proceeding shall be subject to the
terms of this Agreement

19

 

          SECTION 5. Other Agreements.

          5.1 Releases.

          (a) If in connection with the exercise of the First Lien Collateral Agent’s remedies in
respect of the Collateral, the First Lien Collateral Agent, for itself or on behalf of any of the
First Lien Claimholders, releases any of its Liens on any part of the Collateral or releases any
Guarantor from its obligations under its guaranty of the First Lien Obligations, then the Liens, if
any, of the Subordinated Collateral Trustee, for itself or for the benefit of the Subordinated Lien
Claimholders, on such Collateral, and the obligations of such Guarantor under its guaranty of the
Subordinated Lien Obligations, shall be automatically, unconditionally and simultaneously released.
The Subordinated Collateral Trustee, for itself or on behalf of any such Subordinated Lien
Claimholders, promptly shall execute and deliver to the First Lien Collateral Agent or such
Guarantor such termination statements, releases and other documents as the First Lien Collateral
Agent or such Guarantor may request to effectively confirm such release.

          (b) If in connection with any sale, lease, exchange, transfer or other disposition of any
Collateral by any Grantor (collectively, a “Disposition”) permitted under the terms of the First
Lien Documents and not expressly prohibited under the terms of the Subordinated Lien Documents
(other than in connection with the exercise of the First Lien Collateral Agent’s remedies in
respect of the Collateral which shall be governed by Section 5.1(a) above), the First Lien
Collateral Agent, for itself or on behalf of any of the First Lien Claimholders, releases any of
its Liens on any part of the Collateral, or releases any Guarantor from its obligations under its
guaranty of the First Lien Obligations, in each case other than (A) in connection with the
Discharge of First Lien Obligations and (B) after the occurrence and during the continuance of any
“Event of Default” under a Subordinated Lien Document, then the Liens, if any, of the Subordinated
Collateral Trustee, for itself or for the benefit of the Subordinated Lien Claimholders, on such
Collateral, and the obligations of such Guarantor under its guaranty of the Subordinated Lien
Obligations, shall be automatically, unconditionally and simultaneously released. The Subordinated
Collateral Trustee, for itself or on behalf of any such Subordinated Lien Claimholders, promptly
shall execute and deliver to the First Lien Collateral Agent or such Guarantor such termination
statements, releases and other documents as the First Lien Collateral Agent or such Guarantor may
request to effectively confirm such release.

          (c) Until the Discharge of First Lien Obligations occurs, the Subordinated Collateral Trustee,
for itself and on behalf of the Subordinated Lien Claimholders, hereby irrevocably constitutes and
appoints the First Lien Collateral Agent and any officer or agent of the First Lien Collateral
Agent, with full power of substitution, as its true and lawful attorney-in-fact with full
irrevocable power and authority in the place and stead of the Subordinated Collateral Trustee or
such holder or in the First Lien Collateral Agent’s own name, from time to time in the First Lien
Collateral Agent’s discretion, for the purpose of carrying out the terms of this Section 5.1, to
take any and all appropriate action and to execute any and all documents and

20

 

instruments which may be necessary to accomplish the purposes of this Section 5.1, including
any endorsements or other instruments of transfer or release.

          (d) Until the Discharge of First Lien Obligations occurs, to the extent that the First Lien
Collateral Agent or the First Lien Claimholders (i) have released any Lien on Collateral or any
Guarantor from its obligation under its guaranty and any such Liens or guaranty are later
reinstated or (ii) obtain any new liens or additional guarantees from any Guarantor, then the
Subordinated Collateral Trustee, for itself and for the Subordinated Lien Claimholders, shall be
granted a Lien on any such Collateral, subject to the lien subordination provisions of this
Agreement, and an additional guaranty, as the case may be.

          5.2 Insurance. Unless and until the Discharge of First Lien Obligations has occurred,
the First Lien Collateral Agent and the First Lien Claimholders shall have the sole and exclusive
right, subject to the rights of the Grantors under the First Lien Documents, to adjust settlement
for any insurance policy covering the Collateral in the event of any loss thereunder and to approve
any award granted in any condemnation or similar proceeding (or any deed in lieu of condemnation)
affecting the Collateral. Unless and until the Discharge of First Lien Obligations has occurred,
and subject to the rights of the Grantors under the First Lien Documents, all proceeds of any such
policy and any such award (or any payments with respect to a deed in lieu of condemnation) if in
respect to the Collateral shall be paid to the First Lien Collateral Agent for the benefit of the
First Lien Claimholders pursuant to the terms of the First Lien Documents (including for purposes
of cash collateralization of letters of credit) and thereafter, to the extent no First Lien
Obligations are outstanding, and subject to the rights of the Grantors under the Subordinated Lien
Documents to the Subordinated Collateral Trustee for the benefit of the Subordinated Lien
Claimholders to the extent required under the Subordinated Lien Documents, and then, to the extent
no Subordinated Lien Obligations are outstanding, to the owner of the subject property, such other
Person as may be entitled thereto or as a court of competent jurisdiction may otherwise direct.
Until the Discharge of First Lien Obligations has occurred, if the Subordinated Collateral Trustee,
any Subordinated Lien Claimholders shall, at any time, receive any proceeds of any such insurance
policy or any such award or payment in contravention of this Agreement, it shall segregate and hold
in trust and forthwith pay such proceeds over to the First Lien Collateral Agent in accordance with
the terms of Section 4.2.

          5.3 Amendments to First Lien Documents and Subordinated Lien Documents.

          (a) The First Lien Documents may be amended, supplemented or otherwise modified in accordance
with their terms and the First Lien Credit Agreement may be Refinanced in whole or in part, in each
case, without notice to, or the consent of the Subordinated Collateral Trustee or the Subordinated
Lien Claimholders, all without affecting the lien subordination or other provisions of this
Agreement; provided, however, that the holders of such Refinancing debt (or their
Representative on their behalf) shall bind themselves in a writing for the benefit of the
Subordinated Collateral

21

 

Trustee and the Subordinated Lien Claimholders to the terms of this Agreement including by
executing a Lien Priority Confirmation;

          (b) Without the prior written consent of the First Lien Collateral Agent, no Subordinated Lien
Document may be Refinanced, amended, supplemented or otherwise modified or entered into to the
extent such Refinancing, amendment, supplement or modification, or the terms of any new
Subordinated Lien Document, would:

          (1) increase the principal amount of the Subordinated Lien Debt in excess of the
amount permitted under any First Lien Document;

          (2) increase the fees, the interest rate or yield provisions or otherwise effectuate
an increase in yield applicable to the Indebtedness incurred under such Subordinated Lien
Documents (including by way of any side letters, agreements or arrangements under which any
of the Subordinated Lien Claimholders are paid a fee whether in the form of cash or
interest) by more than 3% per annum (including increases in yield or rate arising from any
changes from a floating interest rate obligation to a fixed rate obligation but excluding
increases resulting from the accrual of interest at the default rate);

          (3) except as permitted by Section 5.3(b)(2), increase materially the obligations of
the obligor thereunder or to confer any additional material rights on any Subordinated Lien
Claimholders, or a representative on their behalf, which would be adverse to the Company,
any Grantor or any First Lien Claimholder, it being understood that amendments or
Refinancings providing for increases in the principal amount of Subordinated Lien Debt to
provide for new money Indebtedness shall not be restricted by this clause (3);

          (4) affect the Lien subordination, Lien priorities or other provisions of this
Agreement; or

          (5) contravene the provisions of this Agreement or of the First Lien Documents.

          The Subordinated Lien Debt may be Refinanced to the extent the terms and conditions of such
Refinancing debt meet the requirements of this Section 5.3(b) and clauses (a), (b) and (c) of, and
the provisos to, the definition of “Subordinated Lien Debt” set forth in the First Lien Credit
Agreement, and the holders of such Refinancing debt bind themselves in a writing for the benefit of
the First Lien Collateral Agent and the First Lien Claimholders to the terms of this Agreement, by
executing a Lien Priority Confirmation.

          (c) Company agrees that each Subordinated Lien Document shall include the following language
(or language to similar effect approved by the First Lien Collateral Agent):

22

 

“Notwithstanding anything herein to the contrary, the lien and
security interest granted to the Subordinated Collateral Trustee
pursuant to this Agreement and the exercise of any right or remedy
by the Subordinated Collateral Trustee hereunder are subject to
the provisions of the First and Subordinated Lien Intercreditor
Agreement, dated as of [______], 2010 (as amended, restated,
supplemented or otherwise modified from time to time, the
“Intercreditor Agreement”), among Coffeyville Resources, LLC, a
Delaware limited liability company, Wilmington Trust FSB, as First
Lien Collateral Agent, and Wilmington Trust FSB, as Subordinated
Collateral Trustee, and certain other persons party, or that may
become party, thereto from time to time. In the event of any
conflict between the terms of the Intercreditor Agreement and this
Agreement, the terms of the Intercreditor Agreement shall govern
and control.”

          In addition, the Company agrees that such Subordinated Lien Mortgage covering any Collateral
shall contain such other language as the First Lien Collateral Agent may reasonably request to
reflect the subordination of such Subordinated Lien Mortgage to the First Lien Collateral Document
covering such Collateral.

          (d) In the event any First Lien Collateral Agent or the First Lien Claimholders and the
relevant Grantor enter into any amendment, waiver or consent in respect of any of the First Lien
Collateral Documents for the purpose of adding to, or deleting from, or waiving or consenting to
any departures from any provisions of, any First Lien Collateral Document or changing in any manner
the rights of the First Lien Collateral Agent, such First Lien Claimholders, Company or any other
Grantor thereunder, then such amendment, waiver or consent shall apply automatically to any
comparable provision of the Comparable Subordinated Lien Collateral Document without the consent of
the Subordinated Collateral Trustee or the Subordinated Lien Claimholders and without any action by
the Subordinated Collateral Trustee, Company or any other Grantor, provided that:

          (i) no such amendment, waiver or consent shall have the effect of: (A)
removing or releasing assets subject to the Lien of the Subordinated Lien
Documents, except to the extent that a release of such Lien is permitted or
required by Section 5.1; provided that, there is a corresponding release of
such Lien securing the First Lien Obligations; (B) imposing duties on the
Subordinated Collateral Trustee without its consent; (C) permitting other Liens on
Subordinated Lien Collateral not permitted under the terms of the Subordinated Lien
Documents or Section 6; or (D) being prejudicial to the interests of the
Subordinated Lien Claimholders to a greater extent than the First Lien
Claimholders; and

23

 

          (ii) notice of such amendment, waiver or consent shall have been given to the
Subordinated Collateral Trustee within ten (10) Business Days after the effective
date of such amendment, waiver or consent.

          5.4 Gratuitous Bailee for Perfection.

          (a) The First Lien Collateral Agent agrees to hold that part of the Collateral that is in its
possession or control (or in the possession or control of its agents or bailees) to the extent that
possession or control thereof is taken to perfect a Lien thereon under the UCC (such Collateral
being the “Pledged Collateral”) as collateral agent for the First Lien Claimholders and as
gratuitous bailee for the Subordinated Collateral Trustee (such bailment being intended, among
other things, to satisfy the requirements of Sections 8-106(d)(3), 8-301(a)(2) and 9-313(c) of the
UCC) and any assignee solely for the purpose of perfecting the security interest granted under the
First Lien Documents and the Subordinated Lien Documents, respectively, subject to the terms and
conditions of this Section 5.4. Solely with respect to any deposit accounts under the control
(within the meaning of Section 9-104 of the UCC) of the First Lien Collateral Agent, the First Lien
Collateral Agent agrees to also hold control over such deposit accounts as gratuitous agent for the
Subordinated Collateral Trustee, subject to the terms and conditions of this Section 5.4. For the
avoidance of doubt, the Subordinated Collateral Trustee hereby appoints the First Lien Collateral
Agent as its agent solely for perfection of the Subordinated Collateral Agent’s Lien in such
deposit accounts, and the First Lien Collateral Agent accepts such appointment.

          (b) The First Lien Collateral Agent shall have no obligation whatsoever to the First Lien
Claimholders, the Subordinated Collateral Trustee or any Subordinated Lien Claimholder to ensure
that the Pledged Collateral is genuine or owned by any of the Grantors or to preserve rights or
benefits of any Person except as expressly set forth in this Section 5.4. The duties or
responsibilities of the First Lien Collateral Agent under this Section 5.4 shall be limited solely
to holding the Pledged Collateral as bailee (and with respect to deposit accounts, agent) in
accordance with this Section 5.4 and delivering the Pledged Collateral upon a Discharge of First
Lien Obligations as provided in paragraph (d) below.

          (c) The First Lien Collateral Agent shall not have by reason of the First Lien Collateral
Documents, the Subordinated Lien Collateral Documents, this Agreement or any other document a
fiduciary relationship in respect of the First Lien Claimholders, the Subordinated Collateral
Trustee or any Subordinated Lien Claimholder and the Subordinated Collateral Trustee and the
Subordinated Lien Claimholders hereby waive and release the First Lien Collateral Agent from all
claims and liabilities arising pursuant to the First Lien Collateral Agent’s role under this
Section 5.4 as gratuitous bailee and gratuitous agent with respect to the Collateral. It is
understood and agreed that the interests of the First Lien Collateral Agent and the Subordinated
Collateral Trustee may differ and the First Lien Collateral Agent shall be fully entitled to act in
its own interest without taking into account the interests of the Subordinated Collateral Trustee
or Subordinated Lien Claimholders.

24

 

          (d) Upon the Discharge of First Lien Obligations under the First Lien Documents to which the
First Lien Collateral Agent is a party, the First Lien Collateral Agent shall deliver the remaining
Pledged Collateral in its possession (if any) together with any necessary endorsements (such
endorsement shall be without recourse and without any representation or warranty), first,
to the Subordinated Collateral Trustee to the extent Subordinated Lien Obligations remain
outstanding, and second, to the Company to the extent no First Lien Obligations or
Subordinated Lien Obligations remain outstanding (in each case, so as to allow such Person to
obtain possession or control of such Pledged Collateral). The First Lien Collateral Agent further
agrees to take all other action reasonably requested by the Subordinated Collateral Trustee at the
expense of the Subordinated Collateral Trustee or the Company in connection with the Subordinated
Collateral Trustee obtaining a first-priority interest in the Collateral or as a court of competent
jurisdiction may otherwise direct.

          5.5 Discharge of First Lien Obligations Deemed to Not Have Occurred. If, at any time
after the Discharge of First Lien Obligations has occurred, the Company thereafter enters into any
Refinancing of any First Lien Document evidencing a First Lien Obligation which Refinancing is
permitted by the Subordinated Lien Documents, then such Discharge of First Lien Obligations shall
automatically be deemed not to have occurred for all purposes of this Agreement (other than with
respect to any actions taken as a result of the occurrence of such first Discharge of First Lien
Obligations), and, from and after the date on which the New First Lien Debt Notice is delivered to
the Subordinated Collateral Trustee in accordance with the next sentence, the obligations under
such Refinancing of the First Lien Documents shall automatically be treated as First Lien
Obligations for all purposes of this Agreement, including for purposes of the Lien priorities and
rights in respect of Collateral set forth herein, and the First Lien Collateral Agent under such
First Lien Documents shall be the First Lien Collateral Agent for all purposes of this Agreement.
Upon receipt of a notice (the “New First Lien Debt Notice”) stating that the Company has entered
into a new First Lien Document (and incurred additional First Lien Debt) (which notice shall
include the identity of the new first lien collateral agent, such agent, the “New Agent”), the
Subordinated Collateral Trustee shall promptly (a) enter into such documents and agreements
(including amendments or supplements to this Agreement) as the Company or such New Agent shall
reasonably request in order to provide to the New Agent the rights contemplated hereby, in each
case consistent in all material respects with the terms of this Agreement and (b) deliver to the
New Agent any Pledged Collateral held by it together with any necessary endorsements (or otherwise
allow the New Agent to obtain control of such Pledged Collateral). The New Agent shall agree in a
writing addressed to the Subordinated Collateral Trustee and the Subordinated Lien Claimholders to
be bound by the terms of this Agreement. If the new First Lien Obligations under the new First
Lien Documents are secured by assets of the Grantors constituting Collateral that do not also
secure the Subordinated Lien Obligations, then the Subordinated Lien Obligations shall be secured
at such time by a second priority Lien on such assets to the same extent provided in the
Subordinated Lien Collateral Documents and this Agreement.

25

 

          5.6 Additional Secured Debt.

          (a) The Company will be permitted to designate as an additional holder of First Lien
Obligations or Subordinated Lien Obligations, as applicable, hereunder each Person who is, or who
becomes, the holder of First Lien Debt or the holder of Subordinated Lien Debt, as applicable,
incurred by the Company or such other Grantor in accordance with the respective definitions of
First Lien Debt or Subordinated Lien Debt, as the case may be, contained herein as additional First
Lien Debt or Subordinated Lien Debt hereunder, respectively. The Company may effect such
designation by delivering to the First Lien Collateral Agent and the Subordinated Collateral
Trustee each of the following:

          (i) an Officer’s Certificate describing in reasonable detail the respective
First Lien Debt or Subordinated Lien Debt (“Additional Secured Debt”) and stating
that the Company or such other Grantor has incurred or intends to incur such
obligations as additional Secured Debt which will either be (i) First Lien Debt
permitted by each applicable Secured Debt Document to be secured by a First Lien or
(ii) Subordinated Lien Debt permitted by each applicable Secured Debt Document to
be secured with a second or third priority lien, as applicable; and

          (ii) a written notice specifying the name and address of the Representative
for such First Lien Debt or Subordinated Lien Debt, as applicable, for purposes of
Section 8.8.

          Notwithstanding the foregoing, but in no way limiting Section 2.3, nothing in this Agreement
will be construed to allow the Company or any other Grantor to incur additional Indebtedness or
grant additional Liens unless in each case otherwise permitted by the terms of all applicable
Secured Debt Documents.

          (b) With respect to any First Lien Debt or Subordinated Lien Debt incurred after the date of
this Agreement, each of the parties hereto agrees to take such actions (if any) (including, without
limitation, any acknowledgements by the Company or any of the other Guarantors of guarantees or
security that are applicable to First Lien Debt or Subordinated Lien Debt, as the case may be) as
may from time to time reasonably be requested by the First Lien Collateral Agent or the
Subordinated Collateral Trustee, and enter into such technical amendments, modifications and/or
supplements to the then existing guarantees, First Lien Collateral Documents and Subordinated Lien
Collateral Documents (or execute and deliver such additional guarantees, First Lien Collateral
Documents and Subordinated Lien Collateral Documents) as may from time to time be reasonably
requested by the First Lien Collateral Agent or the Subordinated Collateral Trustee, to ensure that
the relevant additional First Lien Obligations or Subordinated Lien Obligations, as the case may
be, are secured by, and entitled to the benefits of, the relevant guarantees, First Lien Collateral
Documents and Subordinated Lien Collateral Documents, as applicable, and each additional holder of
First Lien Obligations and each additional holder of Subordinated Lien Obligations (by its

26

 

acceptance of the benefits hereof) hereby agrees to, and authorizes the First Lien Collateral
Agent and the Subordinated Collateral Trustee to enter into, any such technical amendments,
modifications and/or supplements (and additional guarantees, First Lien Collateral Documents and
Subordinated Lien Collateral Documents, as applicable). The Company and each Grantor hereby
further agree that, if there are any recording, filing or other similar fees payable in connection
with any of the actions to be taken pursuant to this Section 5.6(b), all such amounts shall be paid
by, and shall be for the account of, the Company and the respective Grantors, on a joint and
several basis.

          SECTION 6. Insolvency or Liquidation Proceedings.

          6.1 Finance and Sale Issues. Until the Discharge of First Lien Obligations has
occurred, if the Company or any other Grantor shall be subject to any Insolvency or Liquidation
Proceeding and the First Lien Collateral Agent shall desire to permit the use of “Cash Collateral”
(as such term is defined in Section 363(a) of the Bankruptcy Code), on which the First Lien
Collateral Agent or any other creditor has a Lien or to permit the Company or any other Grantor to
obtain financing, whether from the First Lien Claimholders or any other Person under Section 364 of
the Bankruptcy Code or any similar Bankruptcy Law (“DIP Financing”), then the Subordinated
Collateral Trustee, on behalf of itself and the Subordinated Lien Claimholders, agrees that it will
raise no objection to such Cash Collateral use or DIP Financing and to the extent the Liens
securing the First Lien Obligations are subordinated to or pari passu with such DIP Financing, the
Subordinated Collateral Trustee will subordinate its Liens in the Collateral to the Liens securing
such DIP Financing (and all Obligations relating thereto) and will not request adequate protection
or any other relief in connection therewith (except, as expressly agreed by the First Lien
Collateral Agent or to the extent permitted by Section 6.3); provided that, the
aggregate principal amount of the DIP Financing plus the aggregate outstanding principal amount of
First Lien Obligations consisting of Indebtedness for borrowed money (and expressly excluding
Hedging Obligations) plus the aggregate face amount of any letters of credit issued and not
reimbursed under the First Lien Credit Agreement does not exceed the Cap Amount plus
$150,000,000 in the aggregate.

          6.2 Relief from the Automatic Stay. Until the Discharge of First Lien Obligations has
occurred, the Subordinated Collateral Trustee, on behalf of itself and the Subordinated Lien
Claimholders, agrees that none of them shall seek (or support any other Person seeking) relief from
the automatic stay or any other stay in any Insolvency or Liquidation Proceeding in respect of the
Collateral, without the prior written consent of the First Lien Collateral Agent, unless a motion
for adequate protection permitted under Section 6.3 has been denied by the Bankruptcy Court.

          6.3 Adequate Protection.

          (a) The Subordinated Collateral Trustee, on behalf of itself and the Subordinated Lien
Claimholders, agrees that none of them shall contest (or support any other Person contesting):

27

 

          (1) any request by the First Lien Collateral Agent or the First Lien Claimholders for
adequate protection; or

          (2) any objection by the First Lien Collateral Agent or the First Lien Claimholders to
any motion, relief, action or proceeding based on the First Lien Collateral Agent or the
First Lien Claimholders claiming a lack of adequate protection.

          (b) Notwithstanding the foregoing provisions in this Section 6.3, in any Insolvency or
Liquidation Proceeding:

          (1) if the First Lien Claimholders (or any subset thereof) are granted adequate
protection in the form of additional collateral in connection with any Cash Collateral use
or DIP Financing, then the Subordinated Collateral Trustee, on behalf of itself or any of
the Subordinated Lien Claimholders, may seek or request adequate protection in the form of
a Lien on such additional collateral, which Lien will be subordinated to the Liens securing
the First Lien Obligations and such Cash Collateral use or DIP Financing (and all
Obligations relating thereto) on the same basis as the other Liens securing the
Subordinated Lien Obligations are so subordinated to the First Lien Obligations under this
Agreement; and

          (2) the Subordinated Collateral Trustee and Subordinated Lien Claimholders shall only
be permitted to seek adequate protection with respect to their rights in the Collateral in
any Insolvency or Liquidation Proceeding in the form of (A) additional collateral;
provided that, as adequate protection for the First Lien Obligations, the First
Lien Collateral Agent, on behalf of the First Lien Claimholders, is also granted a senior
Lien on such additional collateral; (B) replacement Liens on the Collateral;
provided that, as adequate protection for the First Lien Obligations, the First
Lien Collateral Agent, on behalf of the First Lien Claimholders, is also granted senior
replacement Liens on the Collateral; (C) an administrative expense claim; provided
that, as adequate protection for the First Lien Obligations, the First Lien Collateral
Agent, on behalf of the First Lien Claimholders, is also granted an administrative expense
claim which is senior and prior to the administrative expense claim of the Subordinated
Collateral Trustee and the Subordinated Lien Claimholders; and (D) cash payments with
respect to interest on the Subordinated Lien Obligations; provided either (1) as
adequate protection for the First Lien Obligations, the First Lien Collateral Agent, on
behalf of the First Lien Claimholders, is also granted cash payments with respect to
interest on the First Lien Obligations, or (2) such cash payments do not exceed an amount
equal to the interest accruing on the principal amount of applicable Subordinated Lien
Obligations outstanding on the date such relief is granted at the interest rate under the
applicable Subordinated Lien Documents and accruing from the date the Subordinated
Collateral Trustee is granted such relief. If any Subordinated Lien Secured Party receives
Post Petition Interest and/or adequate protection payments in an Insolvency or Liquidation
Proceeding (“Subordinated Lien Adequate Protection Payments”), and the First Lien
Claimholders do not

28

 

receive payment in full in cash of all First Lien Obligations upon the effectiveness
of the plan of reorganization for, or conclusion of, that Insolvency or Liquidation
Proceeding, then, each Subordinated Lien Claimholders shall pay over to the First Lien
Claimholders an amount (the “Pay-Over Amount”) equal to the lesser of (i) the Subordinated
Lien Adequate Protection Payments received by such Subordinated Lien Claimholders and (ii)
the amount of the short-fall (the “Short Fall”) in payment in full of the First Lien
Obligations; provided that, to the extent any portion of the Short Fall represents
payments received by the First Lien Claimholders in the form of promissory notes, equity or
other property, equal in value to the cash paid in respect of the Pay-Over Amount, the
First Lien Claimholders shall, upon receipt of the Pay-Over Amount, transfer those
promissory notes, equity or other property, pro rata, equal in value to the cash paid in
respect of the Pay-Over Amount to the Subordinated Collateral Trustee for the benefit of
the applicable Subordinated Lien Claimholders in exchange for the Pay-Over Amount.
Notwithstanding anything herein to the contrary, the First Lien Claimholders shall not be
deemed to have consented to, and expressly retain their rights to object to the grant of
adequate protection in the form of cash payments to the Subordinated Lien Claimholders made
pursuant to this Section 6.3(b).

          (c) The Subordinated Collateral Trustee, for itself and on behalf of the other Subordinated
Lien Claimholders, agrees that notice of a hearing to approve DIP Financing or use of Cash
Collateral on an interim basis shall be adequate if delivered to the Subordinated Collateral
Trustee at least two (2) Business Days in advance of such hearing and that notice of a hearing to
approve DIP Financing or use of Cash Collateral on a final basis shall be adequate if delivered to
the Subordinated Collateral Trustee at least fifteen (15) days in advance of such hearing.

          6.4 No Waiver. Subject to Sections 3.1(a) and (d), nothing contained herein shall
prohibit or in any way limit the First Lien Collateral Agent or any First Lien Claimholder from
objecting in any Insolvency or Liquidation Proceeding or otherwise to any action taken by the
Subordinated Collateral Trustee or any of the Subordinated Lien Claimholders, including the seeking
by the Subordinated Collateral Trustee or any Subordinated Lien Claimholders of adequate protection
or the asserting by the Subordinated Collateral Trustee or any Subordinated Lien Claimholders of
any of its rights and remedies under the Subordinated Lien Documents or otherwise.

          6.5 Avoidance Issues. If any First Lien Claimholder is required in any Insolvency or
Liquidation Proceeding or otherwise to turn over or otherwise pay to the estate of the Company or
any other Grantor any amount paid in respect of First Lien Obligations (a “Recovery”), then such
First Lien Claimholders shall be entitled to a reinstatement of First Lien Obligations with respect
to all such recovered amounts, and from and after the date of such reinstatement the Discharge of
First Lien Obligations shall be deemed not the have occurred for all purposes hereunder. If this
Agreement shall have been terminated prior to such Recovery, this Agreement shall be reinstated in
full force and effect, and such prior termination shall not diminish, release, discharge, impair or
otherwise affect the obligations of the parties hereto from such date of reinstatement.

29

 

          6.6 Reorganization Securities. If, in any Insolvency or Liquidation Proceeding, debt
obligations of the reorganized debtor secured by Liens upon any property of the reorganized debtor
are distributed pursuant to a plan of reorganization or similar dispositive restructuring plan,
both on account of First Lien Obligations and on account of Subordinated Lien Obligations, then, to
the extent the debt obligations distributed on account of the First Lien Obligations and on account
of the Subordinated Lien Obligations are secured by Liens upon the same property, the provisions of
this Agreement will survive the distribution of such debt obligations pursuant to such plan and
will apply with like effect to the Liens securing such debt obligations.

          6.7 Post Petition Interest

          (a) Neither the Subordinated Collateral Trustee nor any Subordinated Lien Claimholder shall
oppose or seek to challenge any claim by the First Lien Collateral Agent or any First Lien
Claimholder for allowance in any Insolvency or Liquidation Proceeding of First Lien Obligations
consisting of Post Petition Interest to the extent of the value of any First Lien Claimholder’s
Lien, without regard to the existence of the Lien of the Subordinated Collateral Trustee on behalf
of the Subordinated Lien Claimholders on the Collateral.

          (b) Neither the First Lien Collateral Agent nor any other First Lien Claimholder shall oppose
or seek to challenge any claim by the Subordinated Collateral Trustee or any Subordinated Lien
Claimholder for allowance in any Insolvency or Liquidation Proceeding of Subordinated Lien
Obligations consisting of Post Petition Interest to the extent of the value of the Lien of the
Subordinated Collateral Trustee on behalf of the Subordinated Lien Claimholders on the Collateral
(after taking into account the value of the First Lien Obligations).

          6.8 Waiver. The Subordinated Collateral Trustee, for itself and on behalf of the
Subordinated Lien Claimholders, waives any claim it may hereafter have against any First Lien
Claimholder arising out of the election of any First Lien Claimholder of the application of Section
1111(b)(2) of the Bankruptcy Code, and/or out of any cash collateral or financing arrangement or
out of any grant of a security interest in connection with the Collateral in any Insolvency or
Liquidation Proceeding.

          6.9 Separate Grants of Security and Separate Classification. The Subordinated
Collateral Trustee, for itself and on behalf of each Subordinated Lien Claimholder, and the First
Lien Collateral Agent for itself and on behalf of each First Lien Claimholder, acknowledges and
agrees that

          (a) the grants of Liens pursuant to the First Lien Collateral Documents, the Subordinated Lien
Collateral Documents and any Secured Debt Documents which grant a Third Lien on the Collateral
constitute three separate and distinct grants of Liens; and

          (b) because of, among other things, their differing rights in the Collateral, the Subordinated
Lien Obligations are fundamentally different from the First

30

 

Lien Obligations and must be separately classified in any plan of reorganization proposed or
adopted in an Insolvency or Liquidation Proceeding.

To further effectuate the intent of the parties as provided in the immediately preceding sentence,
if it is held that the claims of the First Lien Claimholders and the Subordinated Lien Claimholders
in respect of the Collateral constitute only one secured claim (rather than separate classes of
senior and junior secured claims), then each of the parties hereto hereby acknowledges and agrees
that, subject to Sections 2.1 and 4.1, all distributions shall be made as if there were separate
classes of senior and junior secured claims against the Grantors in respect of the Collateral (with
the effect being that, to the extent that the aggregate value of the Collateral is sufficient (for
this purpose ignoring all claims held by the Subordinated Lien Claimholders), the First Lien
Claimholders shall be entitled to receive, in addition to amounts distributed to them in respect of
principal, pre-petition interest and other claims, all amounts owing (or that would be owing if
there were such separate classes of senior and junior secured claims) in respect of Post Petition
Interest, including any additional interest payable pursuant to the First Lien Credit Agreement,
arising from or related to a default, which is disallowed as a claim in any Insolvency or
Liquidation Proceeding) before any distribution is made in respect of the claims held by any
Subordinated Lien Claimholders with respect to the Collateral, with the Subordinated Collateral
Trustee, for itself and on behalf of the Subordinated Lien Claimholders, hereby acknowledging and
agreeing to turn over to the First Lien Collateral Agent, for itself and on behalf of the First
Lien Claimholders, Collateral or proceeds of Collateral otherwise received or receivable by them to
the extent necessary to effectuate the intent of this sentence, even if such turnover has the
effect of reducing the claim or recovery of the Subordinated Lien Claimholders).

          SECTION 7. Reliance; Waivers; Etc.

          7.1 Reliance. Other than any reliance on the terms of this Agreement, the First Lien
Collateral Agent, on behalf of itself and the First Lien Claimholders under its First Lien
Documents, acknowledges that it and such First Lien Claimholders have, independently and without
reliance on the Subordinated Collateral Trustee or any Subordinated Lien Claimholders, and based on
documents and information deemed by them appropriate, made their own analysis and decision to enter
into such First Lien Documents and be bound by the terms of this Agreement and they will continue
to make their own decision in taking or not taking any action under the First Lien Documents or
this Agreement. The Subordinated Collateral Trustee, on behalf of itself and the Subordinated Lien
Claimholders, acknowledges that it and the Subordinated Lien Claimholders have, independently and
without reliance on the First Lien Collateral Agent or any First Lien Claimholder, and based on
documents and information deemed by them appropriate, made their own analysis and decision to enter
into each of the Subordinated Lien Documents and be bound by the terms of this Agreement and they
will continue to make their own decision in taking or not taking any action under the Subordinated
Lien Documents or this Agreement.

          7.2 No Warranties or Liability. The First Lien Collateral Agent, on behalf of itself
and the First Lien Claimholders under the First Lien Documents,

31

 

acknowledges and agrees that each of the Subordinated Collateral Trustee and the Subordinated
Lien Claimholders have made no express or implied representation or warranty, including with
respect to the execution, validity, legality, completeness, collectibility or enforceability of any
of the Subordinated Lien Documents, the ownership of any Collateral or the perfection or priority
of any Liens thereon. Except as otherwise provided herein, the Subordinated Lien Claimholders will
be entitled to manage and supervise their respective loans and extensions of credit under the
Subordinated Lien Documents in accordance with law and as they may otherwise, in their sole
discretion, deem appropriate. Except as otherwise provided herein, the Subordinated Collateral
Trustee, on behalf of itself and the Subordinated Lien Obligations, acknowledges and agrees that
the First Lien Collateral Agent and the First Lien Claimholders have made no express or implied
representation or warranty, including with respect to the execution, validity, legality,
completeness, collectibility or enforceability of any of the First Lien Documents, the ownership of
any Collateral or the perfection or priority of any Liens thereon. Except as otherwise provided
herein, the First Lien Claimholders will be entitled to manage and supervise their respective loans
and extensions of credit under their respective First Lien Documents in accordance with law and as
they may otherwise, in their sole discretion, deem appropriate. The Subordinated Collateral
Trustee and the Subordinated Lien Claimholders shall have no duty to the First Lien Collateral
Agent or any of the First Lien Claimholders, and the First Lien Collateral Agent and the First Lien
Claimholders shall have no duty to the Subordinated Collateral Trustee or any of the Subordinated
Lien Claimholders, to act or refrain from acting in a manner which allows, or results in, the
occurrence or continuance of an event of default or default under any agreements with the Company
or any other Grantor (including the First Lien Documents and the Subordinated Lien Documents),
regardless of any knowledge thereof which they may have or be charged with.

          7.3 No Waiver of Lien Priorities.

          (a) No right of the First Lien Claimholders, the First Lien Collateral Agent or any of them to
enforce any provision of this Agreement or any First Lien Document shall at any time in any way be
prejudiced or impaired by any act or failure to act on the part of the Company or any other Grantor
or by any act or failure to act by any First Lien Claimholder or the First Lien Collateral Agent,
or by any noncompliance by any Person with the terms, provisions and covenants of this Agreement,
any of the First Lien Documents or any of the Subordinated Lien Documents, regardless of any
knowledge thereof which the First Lien Collateral Agent or the First Lien Claimholders, or any of
them, may have or be otherwise charged with.

          (b) Without in any way limiting the generality of the foregoing paragraph (but subject to the
rights of the Company and the other Grantors under the First Lien Documents), the First Lien
Claimholders, the First Lien Collateral Agent and any of them may, at any time and from time to
time in accordance with the First Lien Documents and/or applicable law, without the consent of, or
notice to, the Subordinated Collateral Trustee or any Subordinated Lien Claimholders, without
incurring any liabilities to the Subordinated Collateral Trustee or any Subordinated Lien
Claimholders and without impairing or releasing the Lien priorities and other benefits provided in
this

32

 

Agreement (even if any right of subrogation or other right or remedy of the Subordinated
Collateral Trustee or any Subordinated Lien Claimholders is affected, impaired or extinguished
thereby) do any one or more of the following:

          (i) change the manner, place or terms of payment or change or extend the time
of payment of, or amend, renew, exchange, increase or alter, the terms of any of
the First Lien Obligations or any Lien on any First Lien Collateral or guaranty
thereof or any liability of the Company or any other Grantor, or any liability
incurred directly or indirectly in respect thereof (including any increase in or
extension of the First Lien Obligations, without any restriction as to the tenor or
terms of any such increase or extension) or otherwise amend, renew, exchange,
extend, modify or supplement in any manner any Liens held by the First Lien
Collateral Agent or any of the First Lien Claimholders, the First Lien Obligations
or any of the First Lien Documents; provided that any such increase in the
First Lien Obligations shall not increase the sum of the Indebtedness constituting
principal under the First Lien Credit Agreement and the face amount of any letters
of credit issued under the First Lien Credit Agreement and not reimbursed to an
amount in excess of the Cap Amount;

          (ii) sell, exchange, release, surrender, realize upon, enforce or otherwise
deal with in any manner and in any order any part of the First Lien Collateral or
any liability of the Company or any other Grantor to the First Lien Claimholders or
the First Lien Collateral Agent, or any liability incurred directly or indirectly
in respect thereof;

          (iii) settle or compromise any First Lien Obligation or any other liability of
the Company or any other Grantor or any security therefor or any liability incurred
directly or indirectly in respect thereof and apply any sums by whomsoever paid and
however realized to any liability (including the First Lien Obligations) in any
manner or order; and

          (iv) exercise or delay in or refrain from exercising any right or remedy
against the Company or any security or any other Grantor or any other Person, elect
any remedy and otherwise deal freely with the Company, any other Grantor or any
First Lien Collateral and any security and any guarantor or any liability of the
Company or any other Grantor to the First Lien Claimholders or any liability
incurred directly or indirectly in respect thereof.

          (c) Except as otherwise expressly provided herein, the Subordinated Collateral Trustee, on
behalf of itself and the Subordinated Lien Claimholders, also agrees that the First Lien
Claimholders and the First Lien Collateral Agent shall have no liability to the Subordinated
Collateral Trustee or any Subordinated Lien Claimholders, and the Subordinated Collateral Trustee,
on behalf of itself and the Subordinated Lien Claimholders, hereby waives any claim against any
First Lien Claimholder or the First

33

 

Lien Collateral Agent, arising out of any and all actions which the First Lien Claimholders or
the First Lien Collateral Agent may take or permit or omit to take with respect to:

          (i) the First Lien Documents (other than this Agreement);

          (ii) the collection of the First Lien Obligations; or

          (iii) the foreclosure upon, or sale, liquidation or other disposition of, any
First Lien Collateral. The Subordinated Collateral Trustee, on behalf of itself
and the Subordinated Lien Claimholders, agrees that the First Lien Claimholders and
the First Lien Collateral Agent have no duty to them in respect of the maintenance
or preservation of the First Lien Collateral, the First Lien Obligations or
otherwise.

          (d) Until the Discharge of First Lien Obligations, the Subordinated Collateral Trustee, on
behalf of itself and the Subordinated Lien Claimholders, agrees not to assert and hereby waives, to
the fullest extent permitted by law, any right to demand, request, plead or otherwise assert or
otherwise claim the benefit of, any marshalling, appraisal, valuation or other similar right that
may otherwise be available under applicable law with respect to the Collateral or any other similar
rights a junior secured creditor may have under applicable law.

          7.4 Obligations Unconditional. All rights, interests, agreements and obligations of
the First Lien Collateral Agent and the First Lien Claimholders and the Subordinated Collateral
Trustee and the Subordinated Lien Claimholders, respectively, hereunder shall remain in full force
and effect irrespective of:

          (a) any lack of validity or enforceability of any First Lien Documents or any Subordinated
Lien Documents;

          (b) except as otherwise expressly set forth in this Agreement, any change in the time, manner
or place of payment of, or in any other terms of, all or any of the First Lien Obligations or
Subordinated Lien Obligations, or any amendment or waiver or other modification, including any
increase in the amount thereof, whether by course of conduct or otherwise, of the terms of any
First Lien Document or any Subordinated Lien Document;

          (c) except as otherwise expressly set forth in this Agreement, any exchange of any security
interest in any Collateral or any other collateral, or any amendment, waiver or other modification,
whether in writing or by course of conduct or otherwise, of all or any of the First Lien
Obligations or Subordinated Lien Obligations or any guaranty thereof;

          (d) the commencement of any Insolvency or Liquidation Proceeding in respect of the Company or
any other Grantor; or

34

 

          (e) any other circumstances which otherwise might constitute a defense available to, or a
discharge of, the Company or any other Grantor in respect of the First Lien Collateral Agent, the
First Lien Obligations, any First Lien Claimholder, the Subordinated Collateral Trustee, the
Subordinated Lien Obligations or any Subordinated Lien Claimholder in respect of this Agreement.

          SECTION 8. Miscellaneous.

          8.1 Conflicts. In the event of any conflict between the provisions of this Agreement
and the provisions of the First Lien Documents or the Subordinated Lien Documents, the provisions
of this Agreement shall govern and control.

          8.2 Effectiveness; Continuing Nature of this Agreement; Severability. This Agreement
shall become effective when executed and delivered by the parties hereto. This is a continuing
agreement of lien subordination and the First Lien Claimholders may continue, at any time and
without notice to the Subordinated Collateral Trustee or any Subordinated Lien Claimholder subject
to the Subordinated Lien Documents, to extend credit and other financial accommodations and lend
monies to or for the benefit of the Company or any Grantor constituting First Lien Obligations in
reliance hereof. The Subordinated Collateral Trustee, on behalf of itself and the Subordinated
Lien Claimholders, hereby waives any right it may have under applicable law to revoke this
Agreement or any of the provisions of this Agreement. The terms of this Agreement shall survive,
and shall continue in full force and effect, in any Insolvency or Liquidation Proceeding. Any
provision of this Agreement that is prohibited or unenforceable in any jurisdiction shall not
invalidate the remaining provisions hereof, and any such prohibition or unenforceability in any
jurisdiction shall not invalidate or render unenforceable such provision in any other jurisdiction.
All references to the Company or any other Grantor shall include the Company or such Grantor as
debtor and debtor-in-possession and any receiver or trustee for the Company or any other Grantor
(as the case may be) in any Insolvency or Liquidation Proceeding. This Agreement shall terminate
and be of no further force and effect:

          (a) with respect to the First Lien Collateral Agent, the First Lien Claimholders and the First
Lien Obligations, on the date of Discharge of First Lien Obligations, subject to the rights of the
First Lien Claimholders under Section 6.5; and

          (b) with respect to the Subordinated Collateral Trustee, the Subordinated Lien Claimholders
and the Subordinated Lien Obligations, upon the later of (1) the date upon which the Subordinated
Lien Documents are terminated and (2) the date on which the Subordinated Lien Obligations are paid
in full.

          If a Discharge of First Lien Obligations occurs prior to the termination of this Agreement in
accordance with this Section 8.2, to the extent that First Lien Obligations are incurred or
reinstated in accordance with Section 6.5, the Discharge of First Lien Obligations shall (effective
upon the incurrence of such additional First Lien Obligations or reinstatement of such First Lien
Obligations, as applicable) be deemed to no longer be effective.

35

 

          8.3 Amendments; Waivers. No amendment, modification or waiver of any of the
provisions of this Agreement by the Subordinated Collateral Trustee or the First Lien Collateral
Agent shall be deemed to be made unless the same shall be in writing signed on behalf of each party
hereto or its authorized agent and each waiver, if any, shall be a waiver only with respect to the
specific instance involved and shall in no way impair the rights of the parties making such waiver
or the obligations of the other parties to such party in any other respect or at any other time.
The First Lien Collateral Agent and the Subordinated Collateral Trustee shall be directed and
authorized to exercise their respective rights and obligations hereunder by the First Lien
Claimholders or Subordinated Lien Claimholders, as applicable, pursuant to the terms of the
applicable First Lien Document or Subordinated Lien Document, including, with respect to the First
Lien Collateral Agent, pursuant to the First Lien Intercreditor Agreement and with respect to the
Subordinated Collateral Trustee, the Subordinated Lien Collateral Trust Agreement. Notwithstanding
the foregoing, the Company shall not have any right to consent to or approve any amendment,
modification or waiver of any provision of this Agreement except to the extent its rights are
directly affected (which includes, but is not limited to any amendment to the Grantors’ ability to
cause additional obligations to constitute First Lien Obligations or Subordinated Lien Obligations
as the Company may designate).

          8.4 Information Concerning Financial Condition of the Company and its Subsidiaries.
The First Lien Collateral Agent and the First Lien Claimholders, on the one hand, and the
Subordinated Lien Claimholders and the Subordinated Collateral Trustee, on the other hand, shall
each be responsible for keeping themselves informed of (x) the financial condition of the Company
and its Subsidiaries and all endorsers and/or guarantors of the First Lien Obligations or the
Subordinated Lien Obligations and (y) all other circumstances bearing upon the risk of nonpayment
of the First Lien Obligations or the Subordinated Lien Obligations. The First Lien Collateral
Agent and the First Lien Claimholders shall have no duty to advise the Subordinated Collateral
Trustee or any Subordinated Lien Claimholder of information known to it or them regarding such
condition or any such circumstances or otherwise. In the event the First Lien Collateral Agent or
any of the First Lien Claimholders, in its or their sole discretion, undertakes at any time or from
time to time to provide any such information to the Subordinated Collateral Trustee or any
Subordinated Lien Claimholder, it or they shall be under no obligation:

          (a) to make, and the First Lien Collateral Agent and the First Lien Claimholders shall not
make, any express or implied representation or warranty, including with respect to the accuracy,
completeness, truthfulness or validity of any such information so provided;

          (b) to provide any additional information or to provide any such information on any subsequent
occasion;

          (c) to undertake any investigation; or

36

 

          (d) to disclose any information, which pursuant to accepted or reasonable commercial finance
practices, such party wishes to maintain confidential or is otherwise required to maintain
confidential.

          8.5 Subrogation. With respect to the value of any payments or distributions in cash,
property or other assets that any of the Subordinated Lien Claimholders or the Subordinated
Collateral Trustee pays over to the First Lien Collateral Agent or the First Lien Claimholders
under the terms of this Agreement, the Subordinated Lien Claimholders and the Subordinated
Collateral Trustee shall be subrogated to the rights of the First Lien Collateral Agent and the
First Lien Claimholders; provided that, the Subordinated Collateral Trustee, on behalf of
itself and the Subordinated Lien Claimholders, hereby agrees not to assert or enforce all such
rights of subrogation it may acquire as a result of any payment hereunder until the Discharge of
First Lien Obligations has occurred. The Company acknowledges and agrees that the value of any
payments or distributions in cash, property or other assets received by the Subordinated Collateral
Trustee or the Subordinated Lien Claimholders that are paid over to the First Lien Collateral Agent
or the First Lien Claimholders pursuant to this Agreement shall not reduce any of the Subordinated
Lien Obligations.

          8.6 Application of Payments. All payments received by the First Lien Collateral Agent
or the First Lien Claimholders may be applied, reversed and reapplied, in whole or in part, to such
part of the First Lien Obligations provided for in the First Lien Documents. The Subordinated
Collateral Trustee, on behalf of itself and the Subordinated Lien Claimholders, assents (i) to any
extension or postponement of the time of payment of the First Lien Obligations or any part thereof
and to any other indulgence with respect thereto, (ii) to any substitution, exchange or release of
any security which may at any time secure any part of the First Lien Obligations and (iii) to the
addition or release of any other Person primarily or secondarily liable therefor.

          8.7 SUBMISSION TO JURISDICTION; WAIVERS. (a) ALL JUDICIAL PROCEEDINGS BROUGHT
AGAINST ANY PARTY ARISING OUT OF OR RELATING HERETO MAY BE BROUGHT IN ANY STATE OR FEDERAL COURT OF
COMPETENT JURISDICTION IN THE STATE, COUNTY AND CITY OF NEW YORK. BY EXECUTING AND DELIVERING THIS
AGREEMENT, EACH PARTY, FOR ITSELF AND IN CONNECTION WITH ITS PROPERTIES, IRREVOCABLY:

          (1) ACCEPTS GENERALLY AND UNCONDITIONALLY THE NONEXCLUSIVE JURISDICTION AND VENUE OF
SUCH COURTS;

          (2) WAIVES ANY DEFENSE OF FORUM NON CONVENIENS;

          (3) AGREES THAT SERVICE OF ALL PROCESS IN ANY SUCH PROCEEDING IN ANY SUCH COURT MAY BE
MADE BY REGISTERED OR CERTIFIED MAIL, RETURN RECEIPT

37

 

REQUESTED, TO THE APPLICABLE PARTY AT ITS ADDRESS PROVIDED IN ACCORDANCE WITH SECTION
8.8; AND

          (4) AGREES THAT SERVICE AS PROVIDED IN CLAUSE (3) ABOVE IS SUFFICIENT TO CONFER
PERSONAL JURISDICTION OVER THE APPLICABLE PARTY IN ANY SUCH PROCEEDING IN ANY SUCH COURT,
AND OTHERWISE CONSTITUTES EFFECTIVE AND BINDING SERVICE IN EVERY RESPECT.

          (b) EACH OF THE PARTIES HERETO HEREBY AGREES TO WAIVE ITS RESPECTIVE RIGHTS TO A JURY TRIAL OF
ANY CLAIM OR CAUSE OF ACTION BASED UPON OR ARISING HEREUNDER OR ANY OTHER FIRST LIEN DOCUMENT OR
SUBORDINATED LIEN DOCUMENT, OR ANY COURSE OF CONDUCT, COURSE OF DEALING, VERBAL OR WRITTEN
STATEMENT OR ACTION OF ANY PARTY HERETO. THE SCOPE OF THIS WAIVER IS INTENDED TO BE
ALL-ENCOMPASSING OF ANY AND ALL DISPUTES THAT MAY BE FILED IN ANY COURT AND THAT RELATE TO THE
SUBJECT MATTER HEREOF, INCLUDING CONTRACT CLAIMS, TORT CLAIMS, BREACH OF DUTY CLAIMS AND ALL OTHER
COMMON LAW AND STATUTORY CLAIMS. EACH PARTY HERETO ACKNOWLEDGES THAT THIS WAIVER IS A MATERIAL
INDUCEMENT TO ENTER INTO A BUSINESS RELATIONSHIP THAT EACH HAS ALREADY RELIED ON THIS WAIVER IN
ENTERING INTO THIS AGREEMENT, AND THAT EACH WILL CONTINUE TO RELY ON THIS WAIVER IN ITS RELATED
FUTURE DEALINGS. EACH PARTY HERETO FURTHER WARRANTS AND REPRESENTS THAT IT HAS REVIEWED THIS
WAIVER WITH ITS LEGAL COUNSEL AND THAT IT KNOWINGLY AND VOLUNTARILY WAIVES ITS JURY TRIAL RIGHTS
FOLLOWING CONSULTATION WITH LEGAL COUNSEL. THIS WAIVER IS IRREVOCABLE; MEANING THAT IT MAY NOT BE
MODIFIED EITHER ORALLY OR IN WRITING (OTHER THAN BY A MUTUAL WRITTEN WAIVER SPECIFICALLY REFERRING
TO THIS SECTION 8.7(b) AND EXECUTED BY EACH OF THE PARTIES HERETO), AND THIS WAIVER SHALL APPLY TO
ANY SUBSEQUENT AMENDMENTS, RENEWALS, SUPPLEMENTS OR MODIFICATIONS HERETO. IN THE EVENT OF
LITIGATION, THIS AGREEMENT MAY BE FILED AS A WRITTEN CONSENT TO A TRIAL BY THE COURT.

          8.8 Notices. All notices to the Subordinated Lien Claimholders and the First Lien
Claimholders permitted or required under this Agreement shall also be sent to the Subordinated
Collateral Trustee and the First Lien Collateral Agent, respectively. Unless otherwise
specifically provided herein, any notice hereunder shall be in writing and may be personally
served, telexed or sent by telefacsimile or United States mail or courier service and shall be
deemed to have been given when delivered in person or by courier service and signed for against
receipt thereof, upon receipt of telefacsimile or telex, or three (3) Business Days after
depositing it in the United States mail with postage prepaid and properly addressed. For the
purposes hereof, the addresses of the parties hereto shall be as set forth below each party’s name
on the signature pages hereto, or, as

38

 

to each party, at such other address as may be designated by such party in a written notice to
all of the other parties.

          8.9 Further Assurances. The First Lien Collateral Agent, on behalf of itself and the
First Lien Claimholders under the First Lien Documents, and the Subordinated Collateral Trustee, on
behalf of itself and the Subordinated Lien Claimholders under the Subordinated Lien Documents, and
the Company, agree that each of them shall take such further action and shall execute and deliver
such additional documents and instruments (in recordable form, if requested) as the First Lien
Collateral Agent or the Subordinated Collateral Trustee may reasonably request to effectuate the
terms of and the Lien priorities contemplated by this Agreement.

          8.10 APPLICABLE LAW. THIS AGREEMENT, AND ANY CLAIM OR CONTROVERSY RELATING TO THE
SUBJECT MATTER HEREOF WHETHER SOUNDING IN CONTRACT LAW OR TORT LAW, SHALL BE GOVERNED BY, AND SHALL
BE CONSTRUED AND ENFORCED IN ACCORDANCE WITH, THE LAW OF THE STATE OF NEW YORK.

          8.11 Binding on Successors and Assigns. This Agreement shall be binding upon the
First Lien Collateral Agent, the First Lien Claimholders, the Subordinated Collateral Trustee, the
Subordinated Lien Claimholders and their respective successors and assigns. If either of the First
Lien Collateral Agent or the Subordinated Collateral Trustee resigns or is replaced pursuant to the
First Lien Documents or the Subordinated Lien Documents, as applicable, its successor shall be
deemed to be a party to this Agreement and shall have all the rights of, and be subject to all the
obligations of, this Agreement.

          8.12 Specific Performance. Each of the First Lien Collateral Agent and the
Subordinated Collateral Trustee may demand by injunction, specific performance of this Agreement or
other equitable relief. The First Lien Collateral Agent, on behalf of itself and the First Lien
Claimholders under the First Lien Documents, and the Subordinated Collateral Trustee, on behalf of
itself and the Subordinated Lien Claimholders, hereby irrevocably waive any defense based on the
adequacy of a remedy at law and any other defense which might be asserted to bar the remedy of
specific performance in any action which may be brought by the First Lien Collateral Agent or the
First Lien Claimholders or the Subordinated Collateral Trustee or the Subordinated Lien
Claimholders, as the case may be. The Subordinated Collateral Trustee on behalf of each
Subordinated Lien Claimholder agrees that (i) the First Lien Claimholders’ damages from its actions
may at that time be difficult to ascertain and may be irreparable, and (ii) each Subordinated Lien
Claimholder waives any defense that the Grantors and/or the First Lien Claimholders cannot
demonstrate damage and/or be made whole by the awarding of damages.

          8.13 Headings. Section headings in this Agreement are included herein for convenience
of reference only and shall not constitute a part of this Agreement for any other purpose or be
given any substantive effect.

39

 

          8.14 Counterparts. This Agreement may be executed in counterparts (and by different
parties hereto in different counterparts), each of which shall constitute an original, but all of
which when taken together shall constitute a single contract. Delivery of an executed counterpart
of a signature page of this Agreement or any document or instrument delivered in connection
herewith by telecopy shall be effective as delivery of a manually executed counterpart of this
Agreement or such other document or instrument, as applicable.

          8.15 Authorization. By its signature, each Person executing this Agreement on behalf
of a party hereto represents and warrants to the other parties hereto that it is duly authorized to
execute this Agreement.

          8.16 No Third Party Beneficiaries. This Agreement and the rights and benefits hereof
shall inure to the benefit of each of the parties hereto and its respective successors and assigns
and shall inure to the benefit of each of the First Lien Claimholders and the Subordinated Lien
Claimholders. Nothing in this Agreement shall impair, as between the Company and the other
Grantors and the First Lien Collateral Agent and the First Lien Claimholders, or as between the
Company and the other Grantors and the Subordinated Collateral Trustee and the Subordinated Lien
Claimholders, the obligations of the Company and the other Grantors to pay principal, interest,
fees and other amounts as provided in the First Lien Documents and the Subordinated Lien Documents,
respectively.

          8.17 Provisions Solely to Define Relative Rights. The provisions of this Agreement
are and are intended solely for the purpose of defining the relative rights of the First Lien
Collateral Agent and the First Lien Claimholders on the one hand and the Subordinated Collateral
Trustee and the Subordinated Lien Claimholders on the other hand. Except as expressly provided in
this Agreement and except as set forth in Sections 8.1, 8.2, 8.3, 8.7, 8.8, 8.10, 8.11, 8.13, 8.14,
8.15 and 8.16, none of the Company, any other Grantor or any other creditor thereof shall have any
rights hereunder and neither the Company nor any Grantor may rely on the terms hereof. Nothing in
this Agreement is intended to or shall impair the obligations of the Company or any other Grantor,
which are absolute and unconditional, to pay the First Lien Obligations and the Subordinated Lien
Obligations as and when the same shall become due and payable in accordance with their terms.

          8.18 USA Patriot Act. The parties hereto acknowledged that in accordance with Section
326 of the USA Patriot Act, Wilmington Trust FSB, as the Subordinated Collateral Trustee, like all
financial institutions and in order to help fight the funding of terrorism and money laundering, is
required to obtain, verify, and record information that identifies each person or legal entity that
establishes a relationship or opens an account with Wilmington Trust FSB. The Company and each
Grantor agree that they will provide the Subordinated Collateral Agent with such information as it
may requires in order for the Subordinated Collateral Trustee to satisfy the requirements of the
USA Patriot Act.

40

 

          8.19 Force Majeure. The Subordinated Collateral Trustee and the First Lien Collateral
Agent shall not incur any liability for not performing any act or fulfilling any duty, obligation
or responsibility hereunder by reason of any occurrence beyond the control of the Subordinated
Collateral Trustee or the First Lien Collateral Agent, as applicable (including, but not limited
to, any act or provision of any present or future law or regulation or governmental authority, any
act of God or war, civil unrest, local or national disturbance or disaster, any act of terrorism,
or the unavailability of the Federal Reserve Bank wire or facsimile or other wire or communications
facility).

[Signature Pages to Follow]

41

 

          IN WITNESS WHEREOF, the parties hereto have executed this Intercreditor Agreement as of the
date first written above.

	 	 	 	 	 
	 	First Lien Collateral Agent

WILMINGTON TRUST FSB,

as First Lien Collateral Agent,

 	 
	 	By:  	 	 
	 	 	Name:  	 	 
	 	 	Title:  	 	 
	 
	 	 	 
	 	By:  	
 	 
	 	 	Name:  	 	 
	 	 	Title:  	 	 
	 

[Address for Notice]

S-1

 

	 	 	 	 	 
	 	Subordinated Collateral Trustee

WILMINGTON TRUST FSB, as Subordinated Collateral
Trustee

 	 
	 	By:  	 	 
	 	 	Name:  	 	 
	 	 	Title:  	 	 
	 
	 	 	 
	 	By:  	
 	 
	 	 	Name:  	 	 
	 	 	Title:  	 	 
	 

Address for Notice:

Wilmington Trust FSB

166 Mercer Street, Suite 2R

MS: [   ]

New York, New York 10012

Fax: [   ]

Attention: [   ]

Copy to:

Wilmington Trust FSB

166 Mercer Street, Suite 2R

Mail Stop [   ]

New York, New York 10012

Fax: [   ]

Attention: [   ]

S-2

 

	 	 	 	 	 
	 	Company

Coffeyville Resources, LLC

 	 
	 	By:  	 	 
	 	 	Name:  	 	 
	 	 	Title:  	 	 
	 

S-3

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00170-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00170-of-00352.parquet"}]]